web/test/unittest_views_errorform.py
changeset 8695 358d8bed9626
parent 8694 d901c36bcfce
child 9809 29d52a785729
--- a/web/test/unittest_views_errorform.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/web/test/unittest_views_errorform.py	Thu Feb 14 15:38:25 2013 +0100
@@ -50,7 +50,7 @@
         with self.temporary_appobjects(MyWrongView):
             try:
                 self.view('my-view')
-            except Exception, e:
+            except Exception as e:
                 import sys
                 self.req.data['excinfo'] = sys.exc_info()
                 self.req.data['ex'] = e