From: Fred Drake Date: Wed, 23 Aug 2000 20:34:40 +0000 (+0000) Subject: When skipping a test, do not include a spurious space between the exception X-Git-Tag: v2.0b1~290 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27c4b39025eb9e20f9d7a36b6aa0bb9c97f9bba5;p=thirdparty%2FPython%2Fcpython.git When skipping a test, do not include a spurious space between the exception name and the ":" that separates it from the value. (Minor cleanup.) --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index f9256453ce7f..ef05fcfc1f35 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -241,7 +241,7 @@ def runtest(test, generate, verbose, quiet, testdir = None): return 0 except: type, value = sys.exc_info()[:2] - print "test", test, "crashed --", type, ":", value + print "test", test, "crashed --", str(type) + ":", value if verbose: traceback.print_exc(file=sys.stdout) return 0