Skip to content

Commit 6db4d5c

Browse files
committed
Add missing imports in tests
1 parent 509b2c2 commit 6db4d5c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

integration_tests/loop_04.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from ltypes import i32
2+
23
j: i32
34
i: i32
5+
46
for i in range(5):
57
j = i
6-
print("j: ", j)
8+
print("j: ", j)

integration_tests/loop_05.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
from ltypes import i32
2+
13
def f():
2-
j :i32 = 0
4+
j: i32 = 0
35
while True:
46
j = j + 1
57
print(j)
@@ -8,4 +10,4 @@ def f():
810
print("out of outer loop")
911
assert j == 5
1012

11-
f()
13+
f()

0 commit comments

Comments
 (0)