From 2c719006cf42c7fc990ba7fd26b7c94639b21aa9 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 2 Oct 2015 10:39:21 +0200 Subject: [PATCH] tests: Fix skipping with multiple platform markers. --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: