commit | 992cb8ab53e6cf214e694366104e86e5ae184788 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Thu May 25 23:16:54 2000 +0000 |
committer | Barry Warsaw <barry@python.org> | Thu May 25 23:16:54 2000 +0000 |
tree | ff1b880b629643d30a77aa2f5ddb7cbe24b9f3b7 | |
parent | 9357854187acf84a852205cdd69082d0ca0ef094 [diff] [blame] |
Added a test to catch the base class.
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 @@ try: x = 1/0 except ZeroDivisionError: pass +r(Exception) +try: x = 1/0 +except Exception, e: pass + unlink(TESTFN)