Skip to content

Commit

Permalink
#2826 Add print statements to main_test.py to find error in Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-alistairp committed Dec 19, 2024
1 parent e10fb7b commit 4fa5b65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/psyclone/tests/psyad/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@

from psyclone.psyad import main


TEST_PROG = (
"program test\n"
"real :: a\n"
Expand Down Expand Up @@ -174,6 +173,8 @@ def test_main_h_option(capsys):
main(["-h", "filename"])
assert str(info.value) == "0"
output, error = capsys.readouterr()
print(output)
print(type(output))
assert error == ""
# Python usage messages have seen slight tweaks over the years, e.g.,
# Python >= 3.13 tweaks the usage message to avoid repeating the args
Expand Down

0 comments on commit 4fa5b65

Please sign in to comment.