Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test fix
  • Loading branch information
hauntsaninja
hauntsaninja committed May 27, 2021
commit 7904f0ad3113fbe1a03f4fe5d314ab1ec8bd5e0e
4 changes: 2 additions & 2 deletions test-data/unit/pythoneval.test
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ t + 1
_program.py:3: error: No overload variant of "__add__" of "tuple" matches argument type "int"
_program.py:3: note: Possible overload variants:
_program.py:3: note: def __add__(self, Tuple[str, ...]) -> Tuple[str, ...]
_program.py:3: note: def __add__(self, Tuple[Any, ...]) -> Tuple[Any, ...]
_program.py:3: note: def [_T] __add__(self, Tuple[_T, ...]) -> Tuple[Union[str, _T], ...]

[case testMultiplyTupleByIntegerReverse]
n = 4
Expand All @@ -807,7 +807,7 @@ t + 1
_program.py:3: error: No overload variant of "__add__" of "tuple" matches argument type "int"
_program.py:3: note: Possible overload variants:
_program.py:3: note: def __add__(self, Tuple[str, ...]) -> Tuple[str, ...]
_program.py:3: note: def __add__(self, Tuple[Any, ...]) -> Tuple[Any, ...]
_program.py:3: note: def [_T] __add__(self, Tuple[_T, ...]) -> Tuple[Union[str, _T], ...]

[case testDictWithKeywordArgs]
from typing import Dict, Any, List
Expand Down