Skip to content
Myr

Removed outdated sentence in the testing docs

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

authored by Armin Ronacher · committed by Armin Ronacher · parent 7fc0ddb · Browse files · 1 file+0 added−4 removed
This commit

State

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

Diff stats

1 file+0 added−4 removed

  • other:+0 added−4 removed

1 file+0 added−4 removed

modified:docs/testing.rst-4 removed
268 unmodified lines
269270If you were to use just the :meth:`~flask.Flask.test_client` without271the `with` block, the `assert` would fail with an error because `request`272is no longer available (because you are trying to use it outside of the actual request).273However, keep in mind that any :meth:`~flask.Flask.after_request` functions274are already called at this point so your database connection and275everything involved is probably already closed down.273277274Accessing and Modifying Sessions275--------------------------------276277.. versionadded:: 0.8
26 unmodified lines