Skip to content

Commit 00efbe9

Browse files
committed
Remove error message from testErrorOutput.
1 parent 9b0ec61 commit 00efbe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/test-data/commandline.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ wtvr = next(i for i in range(10) if i == 5)
200200

201201
d1 = {1: 2}
202202

203-
# Make sure we can produce an error when we hit the awful None case
203+
# Since PR 18180, the following pattern should pose no problems anymore:
204204
def f(l: List[object]) -> None:
205-
x = None # E: Local variable "x" has inferred type None; add an annotation
205+
x = None
206206
for i in l:
207207
if x is None:
208208
x = i

0 commit comments

Comments
 (0)