Skip to content

Commit c861544

Browse files
committed
Update pythoneval test according to PR typeshed/python#1220
1 parent a1b2e6a commit c861544

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎test-data/unit/pythoneval.test‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,3 +1394,8 @@ o: object = p
13941394
it2: Iterable[int] = p
13951395
[out]
13961396
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: error: Incompatible types in assignment (expression has type "Point", variable has type Iterable[int])
1397+
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: Following member(s) of "Point" have conflicts:
1398+
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: Expected:
1399+
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: def __iter__(self) -> Iterator[int]
1400+
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: Got:
1401+
_testCanConvertTypedDictToAnySuperclassOfMapping.py:11: note: def __iter__(self) -> Iterator[str]

0 commit comments

Comments
 (0)