You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Add test for last fix.
Drop 2.5 test until we figure out what's wrong
This commit is contained in:
@@ -48,7 +48,7 @@ check-bytecode:
|
|||||||
|
|
||||||
#: Check deparsing bytecode only
|
#: Check deparsing bytecode only
|
||||||
check-bytecode-sans-3.5:
|
check-bytecode-sans-3.5:
|
||||||
$(PYTHON) test_pythonlib.py --bytecode-2.5 --bytecode-2.6 --bytecode-2.7 \
|
$(PYTHON) test_pythonlib.py --bytecode-2.6 --bytecode-2.7 \
|
||||||
--bytecode-3.2 --bytecode-3.3 --bytecode-3.4
|
--bytecode-3.2 --bytecode-3.3 --bytecode-3.4
|
||||||
|
|
||||||
#: Check deparsing Python 2.5
|
#: Check deparsing Python 2.5
|
||||||
|
BIN
test/bytecode_3.4/05_const_map.pyc
Normal file
BIN
test/bytecode_3.4/05_const_map.pyc
Normal file
Binary file not shown.
BIN
test/bytecode_3.5/05_const_map.pyc
Normal file
BIN
test/bytecode_3.5/05_const_map.pyc
Normal file
Binary file not shown.
7
test/simple_source/expression/05_const_map.py
Normal file
7
test/simple_source/expression/05_const_map.py
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Addresses a bug in the way Python 3.5+ handles
|
||||||
|
# creation of map constants
|
||||||
|
opts = {'highlight': True,
|
||||||
|
'start_line': -1,
|
||||||
|
'end_line': None
|
||||||
|
}
|
||||||
|
print(opts)
|
Reference in New Issue
Block a user