]> granicus.if.org Git - python/commitdiff
When skipping a test, do not include a spurious space between the exception
authorFred Drake <fdrake@acm.org>
Wed, 23 Aug 2000 20:34:40 +0000 (20:34 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 23 Aug 2000 20:34:40 +0000 (20:34 +0000)
name and the ":" that separates it from the value.  (Minor cleanup.)

Lib/test/regrtest.py

index f9256453ce7fd8efe7d7989d31bfe4448f8dcafd..ef05fcfc1f356f50b9b3f31fd12a8994da411bbc 100755 (executable)
@@ -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