summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2000-07-19 17:14:48 (GMT)
committerSkip Montanaro <skip@pobox.com>2000-07-19 17:14:48 (GMT)
commit4d069231221f5ade1d06d0ae7a81632a45ae3205 (patch)
tree72d11464bc2aecef3a9d73974ef5ee3f66960465 /Lib/test
parent018dfae246ba7dc173008722e6b3d1bd7197734c (diff)
downloadcpython-4d069231221f5ade1d06d0ae7a81632a45ae3205.zip
cpython-4d069231221f5ade1d06d0ae7a81632a45ae3205.tar.gz
cpython-4d069231221f5ade1d06d0ae7a81632a45ae3205.tar.bz2
make TestFailed a class exception
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_support.py3
1 files changed, 2 insertions, 1 deletions
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