summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2014-05-11 17:05:50 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2014-05-11 17:05:50 (GMT)
commit5006a56e3980af8c5d74784aec4b8a36573b5984 (patch)
tree1d6e90f49585794f248425d96ade39386f8bc048 /Lib/test
parent3a0cdd5c965e992d09c691054350814eae63a376 (diff)
parentdab4e8a02d362f6c1a16aa82df32231bb29062c1 (diff)
downloadcpython-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')
-rw-r--r--Lib/test/test_signal.py2
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)