Skip to content

Commit 37b2ff6

Browse files
committed
Change tests to use sys.exit()
1 parent 80b5fe9 commit 37b2ff6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/loop2.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from sys import exit
2+
13
def test_for():
24
i: i32
35
for i in range(0, 10):
@@ -7,4 +9,4 @@ def test_for():
79
break
810
if i == 3:
911
quit()
10-
exit()
12+
exit(0)

0 commit comments

Comments
 (0)