Merge pull request #3381 from seeksort/request-context-typo

fix typo in request context docs
This commit is contained in:
David Lord 2019-10-08 09:11:18 -07:00 committed by GitHub
commit 9bdc42d300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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