diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/output/test_exceptions | 1 | ||||
-rw-r--r-- | Lib/test/test_exceptions.py | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/output/test_exceptions b/Lib/test/output/test_exceptions index 5ccb7b8..8ecfd27 100644 --- a/Lib/test/output/test_exceptions +++ b/Lib/test/output/test_exceptions @@ -21,3 +21,4 @@ SystemExit TypeError ValueError ZeroDivisionError +Exception diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 9796ef4..d172ecd 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -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) |