From 571e8fda9b6fdf2172ee071457d5f9e73fe4d70d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 1 May 2011 22:57:43 +0200 Subject: [PATCH] regrtest: add the name of the failing test on a child error (-j option) --- Lib/test/regrtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 0dcd5508bbd..0b7e3d2521c 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: