You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Formatting change slighty
This commit is contained in:
@@ -17,10 +17,7 @@ def test_token():
|
|||||||
# Make sure formatting of: LOAD_CONST False. We assume False is the 0th index
|
# Make sure formatting of: LOAD_CONST False. We assume False is the 0th index
|
||||||
# of co_consts.
|
# of co_consts.
|
||||||
t = Token('LOAD_CONST', offset=1, attr=False, pattr=False, has_arg=True)
|
t = Token('LOAD_CONST', offset=1, attr=False, pattr=False, has_arg=True)
|
||||||
if PYTHON_VERSION >= 3.0:
|
expect = ' 1 LOAD_CONST False'
|
||||||
expect = ' 1 LOAD_CONST False'
|
|
||||||
else:
|
|
||||||
expect = ' 1 LOAD_CONST 0 False'
|
|
||||||
assert t.format() == expect
|
assert t.format() == expect
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Reference in New Issue
Block a user