Skip to content

Commit d6ce735

Browse files
committed
Update run-exceptions.test
1 parent 90a6c5a commit d6ce735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/test-data/run-exceptions.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def b(b1: int, b2: int) -> str:
371371
if b1 == 1:
372372
raise Exception('hi')
373373
elif b1 == 2:
374-
[0][1]
374+
[0][1] # type: ignore [index-range]
375375
elif b1 == 3:
376376
return 'try'
377377
except IndexError:

0 commit comments

Comments
 (0)