fixed tests
diff --git a/tests/utils.py b/tests/utils.py
index c810303..5083d48 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -53,13 +53,11 @@
def check_backend_support(item):
supported = item.keywords.get("supported")
if supported and "backend" in item.funcargs:
- if not all(
- mark.kwargs["only_if"](item.funcargs["backend"])
- for mark in supported
- ):
- pytest.skip("{0} ({1})".format(
- supported.kwargs["skip_message"], item.funcargs["backend"]
- ))
+ for mark in supported:
+ if not mark.kwargs["only_if"](item.funcargs["backend"]):
+ pytest.skip("{0} ({1})".format(
+ mark.kwargs["skip_message"], item.funcargs["backend"]
+ ))
elif supported:
raise ValueError("This mark is only available on methods that take a "
"backend")