mirror of
https://github.com/python/cpython.git
synced 2024-11-26 19:34:19 +08:00
When skipping a test, do not include a spurious space between the exception
name and the ":" that separates it from the value. (Minor cleanup.)
This commit is contained in:
parent
4d746fca3d
commit
27c4b39025
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user