diff --git a/tests/27_goto.py b/tests/27_goto.py index 33c25790..1ac563c9 100644 --- a/tests/27_goto.py +++ b/tests/27_goto.py @@ -35,4 +35,4 @@ assert sum == 5050 for i in range(4): _ = 0 # if there is no op here, the block check will fail -while i: --i +while i: i-=1 diff --git a/tests/99_bugs.py b/tests/99_bugs.py index 726ff9e3..9470706f 100644 --- a/tests/99_bugs.py +++ b/tests/99_bugs.py @@ -66,7 +66,7 @@ assert f(( def f(): for i in range(4): _ = 0 - while i: --i + while i: i-=1 f() # class A: a=b=1