Skip to content
Myr

The builder on github is using python 2.5, the views.py testsuite uses the with

Before adoption: this commit came in with the history the project adopted, so no landing records it.

statement, and thus flask/testsuite/views.py requires from __future__ import with_statement at the beginning.

authored by Mitchell Peabody · committed by Mitchell Peabody · parent c2e5799 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/testsuite/views.py+1 added-1 removed
6 unmodified lines
78 :copyright: (c) 2011 by Armin Ronacher.9 :license: BSD, see LICENSE for more details.10"""11from __future__ import with_statement12import flask13import flask.views14import unittest15from flask.testsuite import FlaskTestCase16from werkzeug.http import parse_set_header171718class ViewTestCase(FlaskTestCase):1920 def common_test(self, app):21 c = app.test_client()
148 unmodified lines