Skip to content

Commit

Permalink
Merge pull request pallets#3381 from seeksort/request-context-typo
Browse files Browse the repository at this point in the history
fix typo in request context docs
  • Loading branch information
davidism authored Oct 8, 2019
2 parents 7fdd0df + af970bd commit 9bdc42d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reqcontext.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ will not fail.

During testing, it can be useful to defer popping the contexts after the
request ends, so that their data can be accessed in the test function.
Using the :meth:`~Flask.test_client` as a ``with`` block to preserve the
contexts until the with block exits.
Use the :meth:`~Flask.test_client` as a ``with`` block to preserve the
contexts until the ``with`` block exits.

.. code-block:: python
Expand Down

0 comments on commit 9bdc42d

Please sign in to comment.