[Python-checkins] CVS: python/dist/src/Lib/test test_exceptions.py,1.5,1.6
Barry Warsaw
python-dev@python.org
Thu, 25 May 2000 16:16:36 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv25292
Modified Files:
test_exceptions.py
Log Message:
Added a test to catch the base class.
Index: test_exceptions.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_exceptions.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** test_exceptions.py 1998/03/26 19:42:05 1.5
--- test_exceptions.py 2000/05/25 23:16:34 1.6
***************
*** 95,97 ****
--- 95,101 ----
except ZeroDivisionError: pass
+ r(Exception)
+ try: x = 1/0
+ except Exception, e: pass
+
unlink(TESTFN)