Fix docs for test_request_context

Fixes #2627.
This commit is contained in:
Josh Holland 2018-02-12 22:26:02 +00:00
parent da5614aa8a
commit cf65d94b3a

View file

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