We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc0ddb commit 22af78aCopy full SHA for 22af78a
docs/testing.rst
@@ -270,10 +270,6 @@ happen. With Flask 0.4 this is possible by using the
270
If you were to use just the :meth:`~flask.Flask.test_client` without
271
the `with` block, the `assert` would fail with an error because `request`
272
is no longer available (because you are trying to use it outside of the actual request).
273
-However, keep in mind that any :meth:`~flask.Flask.after_request` functions
274
-are already called at this point so your database connection and
275
-everything involved is probably already closed down.
276
-
277
278
Accessing and Modifying Sessions
279
--------------------------------
0 commit comments