Formatting change slighty

This commit is contained in:
rocky 2019-06-11 14:14:45 -04:00
parent 002720988c
commit cd9eca7bff

View File

@ -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__':