Skip to content

Commit 22af78a

Browse files
committed
Removed outdated sentence in the testing docs
1 parent 7fc0ddb commit 22af78a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/testing.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,6 @@ happen. With Flask 0.4 this is possible by using the
270270
If you were to use just the :meth:`~flask.Flask.test_client` without
271271
the `with` block, the `assert` would fail with an error because `request`
272272
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-
277273

278274
Accessing and Modifying Sessions
279275
--------------------------------

0 commit comments

Comments
 (0)