summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 0dcd5508bb..0b7e3d2521 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -637,7 +637,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
assert result[1] == 'KeyboardInterrupt'
raise KeyboardInterrupt # What else?
if result[0] == CHILD_ERROR:
- raise Exception("Child error: {}".format(result[1]))
+ raise Exception("Child error on {}: {}".format(test, result[1]))
accumulate_result(test, result)
test_index += 1
except KeyboardInterrupt: