[pypy-commit] pypy py3k: fix syntax

antocuni noreply at buildbot.pypy.org
Fri Feb 24 20:13:43 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
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')
 


More information about the pypy-commit mailing list