aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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 a6f2c64857d..74f74af0b46 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -454,7 +454,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)