Skip to content

Commit 6a956d7

Browse files
gvanrossumemmatyping
authored andcommitted
Combine #5046 with typeshed sync (#5202)
1 parent 178b4f1 commit 6a956d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test-data/unit/pythoneval.test

+2-2
Original file line numberDiff line numberDiff line change
@@ -1257,8 +1257,8 @@ class A:
12571257
class B:
12581258
__slots__ = (1, 2)
12591259
[out]
1260-
_testInvalidSlots.py:2: error: Incompatible types in assignment (expression has type "int", base class "object" defined the type as "Union[str, Iterable[str], None]")
1261-
_testInvalidSlots.py:4: error: Incompatible types in assignment (expression has type "Tuple[int, int]", base class "object" defined the type as "Union[str, Iterable[str], None]")
1260+
_testInvalidSlots.py:2: error: Incompatible types in assignment (expression has type "int", base class "object" defined the type as "Union[str, Iterable[str]]")
1261+
_testInvalidSlots.py:4: error: Incompatible types in assignment (expression has type "Tuple[int, int]", base class "object" defined the type as "Union[str, Iterable[str]]")
12621262

12631263
[case testDictWithStarStarSpecialCase]
12641264
from typing import Dict

0 commit comments

Comments
 (0)