From: Skip Montanaro Date: Wed, 19 Jul 2000 17:14:48 +0000 (+0000) Subject: make TestFailed a class exception X-Git-Tag: v2.0b1~784 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d069231221f5ade1d06d0ae7a81632a45ae3205;p=python make TestFailed a class exception --- diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 3839c79be9..5dec21ba23 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -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