Skip to content
Myr

Merge pull request #2630 from anowlcalledjosh/2627-test_request_context-docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix docs for test_request_context

authored by Hsiaoming Yang · committed by GitHub · parents 4309c7c, 575021c · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:flask/app.py+2 added-2 removed
2138 unmodified lines
2139 """2140 return RequestContext(self, environ)21412142 def test_request_context(self, *args, **kwargs):2143 """Creates a WSGI environment from the given values (see2144 :class:`werkzeug.test.EnvironBuilder` for more information, this2143 """Creates a :class:`~flask.ctx.RequestContext` from the given values2144 (see :class:`werkzeug.test.EnvironBuilder` for more information, this2145 function accepts the same arguments plus two additional).21462147 Additional arguments (only if ``base_url`` is not specified):2148
66 unmodified lines