Skip to content

Commit

Permalink
Cannot assume ordering in list
Browse files Browse the repository at this point in the history
  • Loading branch information
slyubomirsky committed Sep 11, 2024
1 parent 7c32ce9 commit 9a389f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tripy/tests/test_function_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def func(n: Sequence[int]) -> int:
[0-9]+ \| \.\.\.
\|\s
Not a valid overload because: For parameter: 'n', expected an instance of type: 'typing\.Sequence\[int\]' but got argument of type: 'List\[Union\[int, str\]\]'\.
Not a valid overload because: For parameter: 'n', expected an instance of type: 'typing\.Sequence\[int\]' but got argument of type: 'List\[Union\[(int, str)|(str, int)\]\]'\.
"""
).strip(),
):
Expand Down

0 comments on commit 9a389f5

Please sign in to comment.