@@ -405,7 +405,7 @@ a, b = None, None # type: (A, B)
405
405
406
406
a1, b1 = a, a # type: (A, B) # E: Incompatible types in assignment (expression has type "A", variable has type "B")
407
407
a2, b2 = b, b # type: (A, B) # E: Incompatible types in assignment (expression has type "B", variable has type "A")
408
- a3, b3 = a # type: (A, B) # E: "__main__. A" object is not iterable
408
+ a3, b3 = a # type: (A, B) # E: "A" object is not iterable
409
409
a4, b4 = None # type: (A, B) # E: "None" object is not iterable
410
410
a5, b5 = a, b, a # type: (A, B) # E: Too many values to unpack (2 expected, 3 provided)
411
411
@@ -421,8 +421,8 @@ a, b = None, None # type: (A, B)
421
421
def f(): pass
422
422
423
423
a, b = None # E: "None" object is not iterable
424
- a, b = a # E: "__main__. A" object is not iterable
425
- a, b = f # E: "def () -> Any" object is not iterable
424
+ a, b = a # E: "A" object is not iterable
425
+ a, b = f # E: "Callable[[], Any] " object is not iterable
426
426
427
427
class A: pass
428
428
class B: pass
@@ -1468,7 +1468,7 @@ x9, y9, x10, y10, z5 = *points2, 1, *points2 # E: Contiguous iterable with same
1468
1468
() = [] # E: can't assign to ()
1469
1469
1470
1470
[case testAssignEmptyBogus]
1471
- () = 1 # E: "Literal[1]? " object is not iterable
1471
+ () = 1 # E: "int " object is not iterable
1472
1472
[builtins fixtures/tuple.pyi]
1473
1473
1474
1474
[case testMultiplyTupleByIntegerLiteral]
0 commit comments