Browse Source

Fix docs for test_request_context

Fixes #2627.
pull/2630/head
Josh Holland 7 years ago
parent
commit
575021c07b
No known key found for this signature in database
GPG Key ID: 638D16FE887043C2
  1. 4
      flask/app.py

4
flask/app.py

@ -2140,8 +2140,8 @@ class Flask(_PackageBoundObject):
return RequestContext(self, environ)
def test_request_context(self, *args, **kwargs):
"""Creates a WSGI environment from the given values (see
:class:`werkzeug.test.EnvironBuilder` for more information, this
"""Creates a :class:`~flask.ctx.RequestContext` from the given values
(see :class:`werkzeug.test.EnvironBuilder` for more information, this
function accepts the same arguments plus two additional).
Additional arguments (only if ``base_url`` is not specified):

Loading…
Cancel
Save