Author: Antonio Cuni <anto.c...@gmail.com>
Branch: py3k
Changeset: r52421:6e48dcb29be4
Date: 2012-02-11 11:53 +0100
http://bitbucket.org/pypy/pypy/changeset/6e48dcb29be4/

Log:    again, we need to subclass Exception to raise/catch exceptions

diff --git a/pypy/interpreter/test/test_raise.py 
b/pypy/interpreter/test/test_raise.py
--- a/pypy/interpreter/test/test_raise.py
+++ b/pypy/interpreter/test/test_raise.py
@@ -165,7 +165,7 @@
             pass
 
     def test_catch_tuple(self):
-        class A:
+        class A(Exception):
             pass
         
         try:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to