Commits

Mitchell Peabody  committed a15c6c5

The builder on github is using python 2.5, the views.py testsuite uses the with
statement, and thus flask/testsuite/views.py requires

from __future__ import with_statement

at the beginning.

  • Participants
  • Parent commits c2e5799

Comments (0)

Files changed (1)

File flask/testsuite/views.py

     :copyright: (c) 2011 by Armin Ronacher.
     :license: BSD, see LICENSE for more details.
 """
+from __future__ import with_statement
 import flask
 import flask.views
 import unittest
 from flask.testsuite import FlaskTestCase
 from werkzeug.http import parse_set_header
 
-
 class ViewTestCase(FlaskTestCase):
 
     def common_test(self, app):