diff --git a/test/bytecode_2.7/15_assert.pyc b/test/bytecode_2.7/15_assert.pyc index ebbc8bb1..c14a5166 100644 Binary files a/test/bytecode_2.7/15_assert.pyc and b/test/bytecode_2.7/15_assert.pyc differ diff --git a/test/bytecode_2.7_run/04_assert_continue.pyc b/test/bytecode_2.7_run/04_assert_continue.pyc new file mode 100644 index 00000000..5717cc65 Binary files /dev/null and b/test/bytecode_2.7_run/04_assert_continue.pyc differ diff --git a/test/simple_source/bug27+/05_not_unconditional.py b/test/simple_source/bug27+/05_not_unconditional.py index 0731ad6f..cf35ae7a 100644 --- a/test/simple_source/bug27+/05_not_unconditional.py +++ b/test/simple_source/bug27+/05_not_unconditional.py @@ -1,5 +1,5 @@ # From 2.7 test_itertools.py -# Bug was in 2.7 decompiling like the commented out +# Bug was in 2.7 decompiling the target assignment # code below from itertools import izip_longest for args in [ diff --git a/test/simple_source/stmts/15_assert.py b/test/simple_source/stmts/15_assert.py index 53aefb0c..088e711e 100644 --- a/test/simple_source/stmts/15_assert.py +++ b/test/simple_source/stmts/15_assert.py @@ -1,7 +1,5 @@ # RUNNABLE! -# But if it miscompiles one of the tests may loop forever - # Tests: # 2.7: # assert ::= assert_expr jmp_true LOAD_ASSERT RAISE_VARARGS_1 @@ -35,11 +33,3 @@ def getpreferredencoding(do_setlocale=True): assert not do_setlocale getpreferredencoding(False) - -# From python 3.3 idlelib/PyParse.py -def _study1(i): - while i: - assert i - continue - -_study1(False)