Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The builder on github is using python 2.5, the testsuite use…

…s the with

statement, and thus flask/testsuite/ requires

from __future__ import with_statement

at the beginning.
  • Loading branch information...
commit a15c6c569ab40f0da2d18b1bd338bd03ddb024eb 1 parent c2e5799
Mitchell Peabody authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  flask/testsuite/
2  flask/testsuite/
@@ -8,13 +8,13 @@
: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):
Please sign in to comment.
Something went wrong with that request. Please try again.