Skip to content
Myr

Import with statement in testsuite, Python 2.5.

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

authored by Ron DuPlain · committed by Ron DuPlain · parent 780297e · Browse files · 8 files+23 added−0 removed
This commit

State

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

Diff stats

8 files+23 added−0 removed

  • other:+23 added−0 removed

8 files+23 added−0 removed

modified:flask/testsuite/__init__.py+3 added
7 unmodified lines
89 :copyright: (c) 2011 by Armin Ronacher.10 :license: BSD, see LICENSE for more details.11"""1213from __future__ import with_statement1415import os16import sys17import flask18import warnings
179 unmodified lines
modified:flask/testsuite/basic.py+3 added
6 unmodified lines
78 :copyright: (c) 2011 by Armin Ronacher.9 :license: BSD, see LICENSE for more details.10"""1112from __future__ import with_statement1314import re15import flask16import unittest17from datetime import datetime
1037 unmodified lines
modified:flask/testsuite/blueprints.py+3 added
6 unmodified lines
78 :copyright: (c) 2011 by Armin Ronacher.9 :license: BSD, see LICENSE for more details.10"""1112from __future__ import with_statement1314import flask15import unittest16import warnings17from flask.testsuite import FlaskTestCase, emits_module_deprecation_warning
495 unmodified lines
modified:flask/testsuite/deprecations.py+3 added
6 unmodified lines
78 :copyright: (c) 2011 by Armin Ronacher.9 :license: BSD, see LICENSE for more details.10"""1112from __future__ import with_statement1314import flask15import unittest16from flask.testsuite import FlaskTestCase, catch_warnings17
24 unmodified lines
modified:flask/testsuite/helpers.py+3 added
6 unmodified lines
78 :copyright: (c) 2011 by Armin Ronacher.9 :license: BSD, see LICENSE for more details.10"""1112from __future__ import with_statement1314import os15import flask16import unittest17from logging import StreamHandler
281 unmodified lines
modified:flask/testsuite/templating.py+3 added
6 unmodified lines
78 :copyright: (c) 2011 by Armin Ronacher.9 :license: BSD, see LICENSE for more details.10"""1112from __future__ import with_statement1314import flask15import unittest16from flask.testsuite import FlaskTestCase17
127 unmodified lines
modified:flask/testsuite/testing.py+3 added
6 unmodified lines
78 :copyright: (c) 2011 by Armin Ronacher.9 :license: BSD, see LICENSE for more details.10"""1112from __future__ import with_statement1314import flask15import unittest16from flask.testsuite import FlaskTestCase17
151 unmodified lines
modified:flask/testing.py+2 added
8 unmodified lines
9 :copyright: (c) 2010 by Armin Ronacher.10 :license: BSD, see LICENSE for more details.11"""1213from __future__ import with_statement1415from contextlib import contextmanager16from werkzeug.test import Client, EnvironBuilder17from flask import _request_ctx_stack18
107 unmodified lines