Skip to content

Commit c7c7201

Browse files
Update run-loops.test
1 parent 1fb67db commit c7c7201

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mypyc/test-data/run-loops.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Test cases for "range" objects, "for" and "while" loops (compile and run)
22

33
[case testFor]
4-
from typing import List, Tuple
4+
from typing import Any, List, Tuple
55
def count(n: int) -> None:
66
for i in range(n):
77
print(i)
@@ -22,6 +22,7 @@ def tuple_iter(l: Tuple[int, ...]) -> None:
2222
for i in l:
2323
print(i)
2424
def empty_tuple_iter(l: Tuple[()]) -> None:
25+
i: Any
2526
for i in l:
2627
print(i)
2728
def str_iter(l: str) -> None:

0 commit comments

Comments
 (0)