Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r54544:cad97b461205
Date: 2012-04-19 16:13 +0200
http://bitbucket.org/pypy/pypy/changeset/cad97b461205/

Log:    py3k-ify

diff --git a/pypy/objspace/std/test/test_instmethobject.py 
b/pypy/objspace/std/test/test_instmethobject.py
--- a/pypy/objspace/std/test/test_instmethobject.py
+++ b/pypy/objspace/std/test/test_instmethobject.py
@@ -20,7 +20,7 @@
             def m(self): pass
         try:
             C.m(1)
-        except TypeError, e:
+        except TypeError as e:
             assert str(e) == 'unbound method m() must be called with C 
instance as first argument (got int instance instead)'
 
     def test_getBound(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to