Skip to content

Commit

Permalink
Fix tests for old version..
Browse files Browse the repository at this point in the history
  • Loading branch information
erezsh committed Mar 3, 2024
1 parent 84baed3 commit 72018f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ def test_tuple_ellipsis(self):
assert issubclass(Tuple[str, ...], typing.Sequence[str])
assert not issubclass(Tuple[str, ...], typing.Sequence[int])

assert is_subtype(tuple[str, str], tuple[str, ...])
assert not is_subtype(tuple[str, int], tuple[str, ...])
assert is_subtype(Tuple[str, str], Tuple[str, ...])
assert not is_subtype(Tuple[str, int], Tuple[str, ...])

@unittest.skipIf(sys.version_info < (3, 8), "Not supported before Python 3.8")
def test_py38(self):
Expand Down

0 comments on commit 72018f6

Please sign in to comment.