Browse Source

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.
pull/614/head
Mitchell Peabody 12 years ago
parent
commit
a15c6c569a
  1. 2
      flask/testsuite/views.py

2
flask/testsuite/views.py

@ -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):

Loading…
Cancel
Save