diff --git a/tests/conftest.py b/tests/conftest.py index a85dc88b8..a8222b19e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -57,7 +57,7 @@ def _apply_platform_markers(item): for searched_marker, condition, default_reason in markers: marker = item.get_marker(searched_marker) - if not marker: + if not marker or not condition: continue if 'reason' in marker.kwargs: