]> granicus.if.org Git - python/commitdiff
make TestFailed a class exception
authorSkip Montanaro <skip@pobox.com>
Wed, 19 Jul 2000 17:14:48 +0000 (17:14 +0000)
committerSkip Montanaro <skip@pobox.com>
Wed, 19 Jul 2000 17:14:48 +0000 (17:14 +0000)
Lib/test/test_support.py

index 3839c79be9cbbbf03c1de071b327fb03c253482b..5dec21ba238695fd8445ec30a680a0a0cacffb17 100644 (file)
@@ -1,6 +1,7 @@
 # Python test set -- supporting definitions.
 
-TestFailed = 'test_support -- test failed'     # Exception
+class TestFailed(Exception):
+       pass
 
 verbose = 1                            # Flag set to 0 by regrtest.py