From 575021c07be6b168ca4c3664ea484248c9ffe960 Mon Sep 17 00:00:00 2001 From: Josh Holland Date: Mon, 12 Feb 2018 22:26:02 +0000 Subject: [PATCH] Fix docs for test_request_context Fixes #2627. --- flask/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flask/app.py b/flask/app.py index 7fa0d109..bbd66be7 100644 --- a/flask/app.py +++ b/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):