[Python-checkins] CVS: python/dist/src/Lib/test test_support.py,1.5,1.6
Skip Montanaro
python-dev@python.org
2000年7月19日 10:14:51 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv17566
Modified Files:
test_support.py
Log Message:
make TestFailed a class exception
Index: test_support.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_support.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** test_support.py 1998年06月09日 19:20:12 1.5
--- test_support.py 2000年07月19日 17:14:48 1.6
***************
*** 1,5 ****
# Python test set -- supporting definitions.
! TestFailed = 'test_support -- test failed' # Exception
verbose = 1 # Flag set to 0 by regrtest.py
--- 1,6 ----
# Python test set -- supporting definitions.
! class TestFailed(Exception):
! pass
verbose = 1 # Flag set to 0 by regrtest.py