From 27c4b39025eb9e20f9d7a36b6aa0bb9c97f9bba5 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 23 Aug 2000 20:34:40 +0000 Subject: When skipping a test, do not include a spurious space between the exception name and the ":" that separates it from the value. (Minor cleanup.) --- 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 f925645..ef05fcf 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 -- cgit v0.12