From e5d82020384ae527c36424b52612bbe625db9268 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 5 Jul 2010 10:32:06 +0200 Subject: [PATCH] Added a docstring --- flask/testing.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flask/testing.py b/flask/testing.py index ee973e0a..fe7f8c2d 100644 --- a/flask/testing.py +++ b/flask/testing.py @@ -14,6 +14,11 @@ from flask import _request_ctx_stack class FlaskClient(Client): + """Works like a regular Werkzeug test client but has some + knowledge about how Flask works to defer the cleanup of the + request context stack to the end of a with body when used + in a with statement. + """ preserve_context = context_preserved = False