Skip to content

Commit f6abd86

Browse files
committed
fixed skip if
1 parent 25655cd commit f6abd86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pydra/utils/tests/test_typing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,9 @@ def test_generic_is_subclass3():
718718
assert not TypeParser.is_subclass(ty.List[float], ty.List[int])
719719

720720

721-
@pytest.mark.skipIf(sys.version_info.minor < 9, "Cannot subscript tuple in < Py3.9")
721+
@pytest.mark.skipif(
722+
sys.version_info < (3, 9), reason="Cannot subscript tuple in < Py3.9"
723+
)
722724
def test_generic_is_subclass4():
723725
class MyTuple(tuple):
724726
pass

0 commit comments

Comments
 (0)