mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-02-19 20:53:01 +00:00
Formatting change slighty
This commit is contained in:
parent
002720988c
commit
cd9eca7bff
@ -17,10 +17,7 @@ def test_token():
|
||||
# Make sure formatting of: LOAD_CONST False. We assume False is the 0th index
|
||||
# of co_consts.
|
||||
t = Token('LOAD_CONST', offset=1, attr=False, pattr=False, has_arg=True)
|
||||
if PYTHON_VERSION >= 3.0:
|
||||
expect = ' 1 LOAD_CONST False'
|
||||
else:
|
||||
expect = ' 1 LOAD_CONST 0 False'
|
||||
expect = ' 1 LOAD_CONST False'
|
||||
assert t.format() == expect
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
x
Reference in New Issue
Block a user