Skip to content

Commit

Permalink
Remove error message from testErrorOutput.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyralla committed Nov 24, 2024
1 parent 9b0ec61 commit 00efbe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mypyc/test-data/commandline.test
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ wtvr = next(i for i in range(10) if i == 5)

d1 = {1: 2}

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

0 comments on commit 00efbe9

Please sign in to comment.