diff --git a/integration_tests/loop_01.py b/integration_tests/loop_01.py index b08a8e2a46..1a7ba67ebd 100644 --- a/integration_tests/loop_01.py +++ b/integration_tests/loop_01.py @@ -1,14 +1,10 @@ def main0(): - s: str - s = 'aabbcc' - c: str + s: str = 'aabbcc'; c: str for c in s: print(c) def test_issue_770(): - i: i64 - res: i64 - res = 0 + i: i64; res: i64 = 0 for i in range(10): res += i assert res == 45