Skip to content

Commit 27e7fb8

Browse files
committed
relaxed ellipses test so that tuple[int, ...] matches to target tuple[int]
1 parent e8852e1 commit 27e7fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra/utils/tests/test_typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def test_matches_type_tuple_ellipsis3():
523523

524524

525525
def test_matches_type_tuple_ellipsis4():
526-
assert not TypeParser.matches_type(ty.Tuple[int, ...], ty.Tuple[int])
526+
assert TypeParser.matches_type(ty.Tuple[int, ...], ty.Tuple[int])
527527

528528

529529
def test_matches_type_tuple_ellipsis5():

0 commit comments

Comments
 (0)