Skip to content

Commit

Permalink
disable typing test in Python 3.8 where tuple subclasses can't be sub…
Browse files Browse the repository at this point in the history
…scripted
  • Loading branch information
tclose committed Sep 26, 2023
1 parent fd0e6f1 commit 4663fdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pydra/utils/tests/test_typing.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import itertools
import sys
import typing as ty
from pathlib import Path
import tempfile
Expand Down Expand Up @@ -717,6 +718,7 @@ 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")
def test_generic_is_subclass4():
class MyTuple(tuple):
pass
Expand Down

0 comments on commit 4663fdd

Please sign in to comment.