From 466fcc0a2a9fdee6cabbb22cfb99ed896689ef5f Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Mon, 11 Mar 2019 20:19:27 -0400 Subject: [PATCH] Fix test skip Signed-off-by: Dan Ryan --- tests/integration/conftest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index ac99418d..446f5b4d 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -94,13 +94,13 @@ def pytest_runtest_setup(item): ): pytest.skip('must use python > 2.7 on windows') if item.get_marker('py3_only') is not None and ( - sys.version_info[:2] < (3, 0) + sys.version_info < (3, 0) ): - pytest.mark.skip('test only runs on python 3') + pytest.skip('test only runs on python 3') if item.get_marker('lte_py36') is not None and ( - sys.version_info[:2] >= (3, 7) + sys.version_info >= (3, 7) ): - pytest.mark.skip('test only runs on python < 3.7') + pytest.skip('test only runs on python < 3.7') @pytest.fixture