From 17cd1c0d89be8adf392231ed29ddd9df9e9954db Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Fri, 24 Sep 2021 10:45:12 +0200 Subject: [PATCH] disable apiwarn tests for all pytest 3.1 --- testing/log/test_warning.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testing/log/test_warning.py b/testing/log/test_warning.py index a460c319..36efec91 100644 --- a/testing/log/test_warning.py +++ b/testing/log/test_warning.py @@ -8,8 +8,7 @@ mypath = py.path.local(__file__).new(ext=".py") -win = sys.platform.startswith('win') -pytestmark = pytest.mark.skipif(win and LooseVersion(pytest.__version__) >= LooseVersion('3.1'), +pytestmark = pytest.mark.skipif(LooseVersion(pytest.__version__) >= LooseVersion('3.1'), reason='apiwarn is not compatible with pytest >= 3.1 (#162)')