Skip to content

Commit 1e30b23

Browse files
Update run-exceptions.test
1 parent 2209c08 commit 1e30b23

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
@@ -125,7 +125,7 @@ def g(b: bool) -> None:
125125
try:
126126
if b:
127127
x = [0]
128-
x[1]
128+
x[1] # type: ignore [index-range]
129129
else:
130130
raise Exception('hi')
131131
except:

0 commit comments

Comments
 (0)