mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-10-07 10:13:39 +00:00
Reinstate a test
This commit is contained in:
parent
8c22d57979
commit
e568d68baa
Binary file not shown.
BIN
test/bytecode_2.7_run/04_assert_continue.pyc
Normal file
BIN
test/bytecode_2.7_run/04_assert_continue.pyc
Normal file
Binary file not shown.
@ -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 [
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user