Commits

Dusty Phillips committed 1eb8141

fix exception syntax

Comments (0)

Files changed (1)

pypy/module/_continuation/test/test_stacklet.py

                 res = "got keyerror"
             try:
                 c1.switch(res)
-            except IndexError, e:
+            except IndexError as e:
                 pass
             try:
                 c1.switch(e)
-            except IndexError, e2:
+            except IndexError as e2:
                 pass
             try:
                 c1.switch(e2)