Commit 6c849955 authored by Antoine Pitrou's avatar Antoine Pitrou

Fix printing out error message when test fails and run with -bb

parent 2293042e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment