From 1828173769eb7473491c3d0dc0d0375645254d22 Mon Sep 17 00:00:00 2001 From: Tom Close Date: Wed, 27 Sep 2023 09:45:12 +1000 Subject: [PATCH] fixed skip if --- pydra/utils/tests/test_typing.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pydra/utils/tests/test_typing.py b/pydra/utils/tests/test_typing.py index 4a45ee2d25..87eef5d470 100644 --- a/pydra/utils/tests/test_typing.py +++ b/pydra/utils/tests/test_typing.py @@ -718,7 +718,9 @@ def test_generic_is_subclass3(): assert not TypeParser.is_subclass(ty.List[float], ty.List[int]) -@pytest.mark.skipIf(sys.version_info.minor < 9, "Cannot subscript tuple in < Py3.9") +@pytest.mark.skipif( + sys.version_info < (3, 9), reason="Cannot subscript tuple in < Py3.9" +) def test_generic_is_subclass4(): class MyTuple(tuple): pass