Skip to content

Commit 910fcb2

Browse files
committed
Update run-exceptions.test
1 parent 0ded115 commit 910fcb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mypyc/test-data/run-exceptions.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Traceback (most recent call last):
263263
File "native.py", line 44, in i
264264
r(0)
265265
File "native.py", line 15, in r
266-
[0][1]
266+
[0][1] # type: ignore [index-range]
267267
IndexError: list index out of range
268268
== k ==
269269
Traceback (most recent call last):
@@ -281,7 +281,7 @@ Traceback (most recent call last):
281281
File "native.py", line 61, in k
282282
r(0)
283283
File "native.py", line 15, in r
284-
[0][1]
284+
[0][1] # type: ignore [index-range]
285285
IndexError: list index out of range
286286
== g ==
287287
caught!
@@ -330,7 +330,7 @@ Traceback (most recent call last):
330330
File "native.py", line 61, in k
331331
r(0)
332332
File "native.py", line 15, in r
333-
[0][1]
333+
[0][1] # type: ignore [index-range]
334334
IndexError: list index out of range
335335
== g ==
336336
caught!

0 commit comments

Comments
 (0)