Permalink
Browse files

Import with statement in testsuite, Python 2.5.

  • Loading branch information...
1 parent 780297e commit 37f9cb9ca69176dec36faff4b2138226b479f65f @rduplain rduplain committed Sep 1, 2011
View
@@ -10,6 +10,8 @@
:license: BSD, see LICENSE for more details.
"""
+from __future__ import with_statement
+
from contextlib import contextmanager
from werkzeug.test import Client, EnvironBuilder
from flask import _request_ctx_stack
@@ -9,6 +9,9 @@
:copyright: (c) 2011 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
+
+from __future__ import with_statement
+
import os
import sys
import flask
@@ -8,6 +8,9 @@
:copyright: (c) 2011 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
+
+from __future__ import with_statement
+
import re
import flask
import unittest
@@ -8,6 +8,9 @@
:copyright: (c) 2011 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
+
+from __future__ import with_statement
+
import flask
import unittest
import warnings
@@ -8,6 +8,9 @@
:copyright: (c) 2011 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
+
+from __future__ import with_statement
+
import flask
import unittest
from flask.testsuite import FlaskTestCase, catch_warnings
@@ -8,6 +8,9 @@
:copyright: (c) 2011 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
+
+from __future__ import with_statement
+
import os
import flask
import unittest
@@ -8,6 +8,9 @@
:copyright: (c) 2011 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
+
+from __future__ import with_statement
+
import flask
import unittest
from flask.testsuite import FlaskTestCase
@@ -8,6 +8,9 @@
:copyright: (c) 2011 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
+
+from __future__ import with_statement
+
import flask
import unittest
from flask.testsuite import FlaskTestCase

0 comments on commit 37f9cb9

Please sign in to comment.