mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ def runtest(test, generate, verbose, quiet, testdir = None):
|
||||||
return 0
|
return 0
|
||||||
except:
|
except:
|
||||||
type, value = sys.exc_info()[:2]
|
type, value = sys.exc_info()[:2]
|
||||||
print "test", test, "crashed --", type, ":", value
|
print "test", test, "crashed --", str(type) + ":", value
|
||||||
if verbose:
|
if verbose:
|
||||||
traceback.print_exc(file=sys.stdout)
|
traceback.print_exc(file=sys.stdout)
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue