Skip to content

Commit 27c4b39

Browse files
committed
When skipping a test, do not include a spurious space between the exception
name and the ":" that separates it from the value. (Minor cleanup.)
1 parent 4d746fc commit 27c4b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/regrtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def runtest(test, generate, verbose, quiet, testdir = None):
241241
return 0
242242
except:
243243
type, value = sys.exc_info()[:2]
244-
print "test", test, "crashed --", type, ":", value
244+
print "test", test, "crashed --", str(type) + ":", value
245245
if verbose:
246246
traceback.print_exc(file=sys.stdout)
247247
return 0

0 commit comments

Comments
 (0)