You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Reinstate a test
This commit is contained in:
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
|
# 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
|
# code below
|
||||||
from itertools import izip_longest
|
from itertools import izip_longest
|
||||||
for args in [
|
for args in [
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
# RUNNABLE!
|
# RUNNABLE!
|
||||||
|
|
||||||
# But if it miscompiles one of the tests may loop forever
|
|
||||||
|
|
||||||
# Tests:
|
# Tests:
|
||||||
# 2.7:
|
# 2.7:
|
||||||
# assert ::= assert_expr jmp_true LOAD_ASSERT RAISE_VARARGS_1
|
# assert ::= assert_expr jmp_true LOAD_ASSERT RAISE_VARARGS_1
|
||||||
@@ -35,11 +33,3 @@ def getpreferredencoding(do_setlocale=True):
|
|||||||
assert not do_setlocale
|
assert not do_setlocale
|
||||||
|
|
||||||
getpreferredencoding(False)
|
getpreferredencoding(False)
|
||||||
|
|
||||||
# From python 3.3 idlelib/PyParse.py
|
|
||||||
def _study1(i):
|
|
||||||
while i:
|
|
||||||
assert i
|
|
||||||
continue
|
|
||||||
|
|
||||||
_study1(False)
|
|
||||||
|
Reference in New Issue
Block a user