From 4d069231221f5ade1d06d0ae7a81632a45ae3205 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Wed, 19 Jul 2000 17:14:48 +0000 Subject: [PATCH] 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 3839c79be9c..5dec21ba238 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