change typeerror to valueerror
diff --git a/tests/test_utils.py b/tests/test_utils.py
index 32daff7..c640367 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -68,7 +68,7 @@
)
item = pretend.stub(keywords={"supported": supported},
funcargs={})
- with pytest.raises(TypeError):
+ with pytest.raises(ValueError):
check_backend_support(item)
diff --git a/tests/utils.py b/tests/utils.py
index 7ae2eb8..beb2ca5 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -30,8 +30,8 @@
if not supported.kwargs["only_if"](item.funcargs["backend"]):
pytest.skip(supported.kwargs["skip_message"])
elif supported:
- raise TypeError("This mark is only available on methods that take a "
- "backend")
+ raise ValueError("This mark is only available on methods that take a "
+ "backend")
def load_vectors_from_file(filename, loader):