Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52704:31dba1322ab7
Date: 2012-02-21 00:03 +0100
http://bitbucket.org/pypy/pypy/changeset/31dba1322ab7/

Log:    kill this test, we no longer have the three-args raise form

diff --git a/pypy/interpreter/test/test_pyframe.py 
b/pypy/interpreter/test/test_pyframe.py
--- a/pypy/interpreter/test/test_pyframe.py
+++ b/pypy/interpreter/test/test_pyframe.py
@@ -350,34 +350,6 @@
         assert len(l) == 2
         assert issubclass(l[0][0], Exception)
         assert issubclass(l[1][0], Exception)
-
-    def test_trace_raise_three_arg(self):
-        import sys
-        l = []
-        def trace(frame, event, arg):
-            if event == 'exception':
-                l.append(arg)
-            return trace
-
-        def g():
-            try:
-                raise Exception
-            except Exception, e:
-                import sys
-                raise Exception, e, sys.exc_info()[2]
-
-        def f():
-            try:
-                g()
-            except:
-                pass
-
-        sys.settrace(trace)
-        f()
-        sys.settrace(None)
-        assert len(l) == 2
-        assert issubclass(l[0][0], Exception)
-        assert issubclass(l[1][0], Exception)
         
 
     def test_trace_generator_finalisation(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to