Kaydet (Commit) 992cb8ab authored tarafından Barry Warsaw's avatar Barry Warsaw

Added a test to catch the base class.

üst 93578541
...@@ -21,3 +21,4 @@ SystemExit ...@@ -21,3 +21,4 @@ SystemExit
TypeError TypeError
ValueError ValueError
ZeroDivisionError ZeroDivisionError
Exception
...@@ -94,4 +94,8 @@ r(ZeroDivisionError) ...@@ -94,4 +94,8 @@ r(ZeroDivisionError)
try: x = 1/0 try: x = 1/0
except ZeroDivisionError: pass except ZeroDivisionError: pass
r(Exception)
try: x = 1/0
except Exception, e: pass
unlink(TESTFN) unlink(TESTFN)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment