Skip to content

Commit a15c6c5

Browse files
author
Mitchell Peabody
committed
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.
1 parent c2e5799 commit a15c6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask/testsuite/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
:copyright: (c) 2011 by Armin Ronacher.
99
:license: BSD, see LICENSE for more details.
1010
"""
11+
from __future__ import with_statement
1112
import flask
1213
import flask.views
1314
import unittest
1415
from flask.testsuite import FlaskTestCase
1516
from werkzeug.http import parse_set_header
1617

17-
1818
class ViewTestCase(FlaskTestCase):
1919

2020
def common_test(self, app):

0 commit comments

Comments
 (0)