spacetelescope / pandokia

Regression tests framework.
Other
2 stars 4 forks source link

BROKEN: py3 incompatible print statements #34

Closed ariedel closed 5 years ago

ariedel commented 5 years ago

A recent py3 run on Glitch had the following errors in its main log:

  File "build/bdist.linux-x86_64/egg/pandokia/check_expected.py", line 83
    print __doc__
                ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(__doc__)?

  File "build/bdist.linux-x86_64/egg/pandokia/import_data.py", line 43
    print "INVALID INPUT FILE - NO END",line_count
                                      ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("INVALID INPUT FILE - NO END",line_count)?

  File "build/bdist.linux-x86_64/egg/pandokia/gen_expected.py", line 44
    print "can't get args"
                         ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("can't get args")?

  File "/installations/test_3/third_party_3/envs/pandeia_9/lib/python3.6/site-packages/pandokia-2.3.0.dev100+g8b205939-py3.6.egg/pandokia/check_expected.py", line 83
    print __doc__
                ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(__doc__)?

  File "/installations/test_3/third_party_3/envs/pandeia_9/lib/python3.6/site-packages/pandokia-2.3.0.dev100+g8b205939-py3.6.egg/pandokia/gen_expected.py", line 44
    print "can't get args"
                         ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("can't get args")?

  File "/installations/test_3/third_party_3/envs/pandeia_9/lib/python3.6/site-packages/pandokia-2.3.0.dev100+g8b205939-py3.6.egg/pandokia/import_data.py", line 43
    print "INVALID INPUT FILE - NO END",line_count
                                      ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("INVALID INPUT FILE - NO END",line_count)?
ariedel commented 5 years ago

These errors no longer appear. I think this bug has been fixed by PR #36, and this ticket should be closed.