aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 7ae2eb8b..beb2ca5d 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -30,8 +30,8 @@ def check_backend_support(item):
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):