Added a test to catch the base class.

This commit is contained in:
Barry Warsaw 2000-05-25 23:16:54 +00:00
parent 9357854187
commit 992cb8ab53
2 changed files with 5 additions and 0 deletions

View File

@ -21,3 +21,4 @@ SystemExit
TypeError
ValueError
ZeroDivisionError
Exception

View File

@ -94,4 +94,8 @@ r(ZeroDivisionError)
try: x = 1/0
except ZeroDivisionError: pass
r(Exception)
try: x = 1/0
except Exception, e: pass
unlink(TESTFN)