@@ -405,7 +405,7 @@ a, b = None, None # type: (A, B)
405405
406406a1, b1 = a, a # type: (A, B) # E: Incompatible types in assignment (expression has type "A", variable has type "B")
407407a2, 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
409409a4, b4 = None # type: (A, B) # E: "None" object is not iterable
410410a5, b5 = a, b, a # type: (A, B) # E: Too many values to unpack (2 expected, 3 provided)
411411
@@ -421,8 +421,8 @@ a, b = None, None # type: (A, B)
421421def f(): pass
422422
423423a, 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
426426
427427class A: pass
428428class B: pass
@@ -1468,7 +1468,7 @@ x9, y9, x10, y10, z5 = *points2, 1, *points2 # E: Contiguous iterable with same
14681468() = [] # E: can't assign to ()
14691469
14701470[case testAssignEmptyBogus]
1471- () = 1 # E: "Literal[1]? " object is not iterable
1471+ () = 1 # E: "int " object is not iterable
14721472[builtins fixtures/tuple.pyi]
14731473
14741474[case testMultiplyTupleByIntegerLiteral]
0 commit comments