diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2014-05-11 17:05:50 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2014-05-11 17:05:50 (GMT) |
commit | 5006a56e3980af8c5d74784aec4b8a36573b5984 (patch) | |
tree | 1d6e90f49585794f248425d96ade39386f8bc048 /Lib/test/test_signal.py | |
parent | 3a0cdd5c965e992d09c691054350814eae63a376 (diff) | |
parent | dab4e8a02d362f6c1a16aa82df32231bb29062c1 (diff) | |
download | cpython-5006a56e3980af8c5d74784aec4b8a36573b5984.zip cpython-5006a56e3980af8c5d74784aec4b8a36573b5984.tar.gz cpython-5006a56e3980af8c5d74784aec4b8a36573b5984.tar.bz2 |
Fix printing out error message when test fails and run with -bb
Diffstat (limited to 'Lib/test/test_signal.py')
-rw-r--r-- | Lib/test/test_signal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index 50cae07..92747cf 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -473,7 +473,7 @@ class SiginterruptTest(unittest.TestCase): stdout = first_line + stdout exitcode = process.wait() if exitcode not in (2, 3): - raise Exception("Child error (exit code %s): %s" + raise Exception("Child error (exit code %s): %r" % (exitcode, stdout)) return (exitcode == 3) |