Skip to content
Myr

Added a docstring

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

authored by Armin Ronacher · committed by Armin Ronacher · parent df3f894 · Browse files · 1 file+5 added−0 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+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:flask/testing.py+5 added
12 unmodified lines
13from flask import _request_ctx_stack141516class FlaskClient(Client):17 """Works like a regular Werkzeug test client but has some18 knowledge about how Flask works to defer the cleanup of the19 request context stack to the end of a with body when used20 in a with statement.21 """2223 preserve_context = context_preserved = False2425 def open(self, *args, **kwargs):
19 unmodified lines