Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r59329:dfcd72d8e4d9
Date: 2012-12-05 11:25 -0800
http://bitbucket.org/pypy/pypy/changeset/dfcd72d8e4d9/

Log:    kill catching w/ nested tuples

diff --git a/pypy/interpreter/test/test_exceptcomp.py 
b/pypy/interpreter/test/test_exceptcomp.py
--- a/pypy/interpreter/test/test_exceptcomp.py
+++ b/pypy/interpreter/test/test_exceptcomp.py
@@ -84,21 +84,3 @@
             pass
         except:
             self.fail("Exception does not match parent in tuple.") 
-
-    def test_nestedtuples(self):
-        try:
-            raise AssertionError("0")
-        except (SystemExit, (KeyboardInterrupt, AssertionError)):
-            pass
-        except:
-            self.fail("Exception does not match self in nested tuple.") 
-
-    def test_deeptuples(self):
-        try:
-            raise IOError
-        except (FloatingPointError,(OSError,
-                                    (SyntaxError,IOError,ZeroDivisionError)),
-                (MemoryError, NotImplementedError)):
-            pass
-        except:
-            self.fail("Exception does not match self in deeply nested tuple.")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to