diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-23 20:34:40 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-23 20:34:40 (GMT) |
commit | 27c4b39025eb9e20f9d7a36b6aa0bb9c97f9bba5 (patch) | |
tree | e8dda7f510b4fad0fd259cebb31ce6c99c6076a0 /Lib | |
parent | 4d746fca3d7f4f5008ec8b0e02c78a2936cddba7 (diff) | |
download | cpython-27c4b39025eb9e20f9d7a36b6aa0bb9c97f9bba5.zip cpython-27c4b39025eb9e20f9d7a36b6aa0bb9c97f9bba5.tar.gz cpython-27c4b39025eb9e20f9d7a36b6aa0bb9c97f9bba5.tar.bz2 |
When skipping a test, do not include a spurious space between the exception
name and the ":" that separates it from the value. (Minor cleanup.)
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |