Skip to content

Commit

Permalink
relaxed ellipses test so that tuple[int, ...] matches to target tuple…
Browse files Browse the repository at this point in the history
…[int]
  • Loading branch information
tclose committed Feb 25, 2024
1 parent e8852e1 commit 27e7fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydra/utils/tests/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def test_matches_type_tuple_ellipsis3():


def test_matches_type_tuple_ellipsis4():
assert not TypeParser.matches_type(ty.Tuple[int, ...], ty.Tuple[int])
assert TypeParser.matches_type(ty.Tuple[int, ...], ty.Tuple[int])


def test_matches_type_tuple_ellipsis5():
Expand Down

0 comments on commit 27e7fb8

Please sign in to comment.