From 4d069231221f5ade1d06d0ae7a81632a45ae3205 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Wed, 19 Jul 2000 17:14:48 +0000 Subject: make TestFailed a class exception --- Lib/test/test_support.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 3839c79..5dec21b 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 -- cgit v0.12