Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52885:a7d45791d56b
Date: 2012-02-24 20:07 +0100
http://bitbucket.org/pypy/pypy/changeset/a7d45791d56b/

Log:    fix syntax

diff --git a/pypy/module/__builtin__/test/test_descriptor.py 
b/pypy/module/__builtin__/test/test_descriptor.py
--- a/pypy/module/__builtin__/test/test_descriptor.py
+++ b/pypy/module/__builtin__/test/test_descriptor.py
@@ -124,7 +124,7 @@
     def test_super_fail(self):
         try:
             super(list, 2)
-        except TypeError, e:
+        except TypeError as e:
             message = e.args[0]
             assert message.startswith('super(type, obj): obj must be an 
instance or subtype of type')
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to