fix docs for Flask.test_client_class

This commit is contained in:
Pedro Torcatt 2021-09-22 21:20:26 -04:00 committed by David Lord
parent 56c8bddf6b
commit 22933a8cb4
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8

View file

@ -366,7 +366,8 @@ class Flask(Scaffold):
#: .. versionadded:: 1.1.0
url_map_class = Map
#: the test client that is used with when `test_client` is used.
#: The :meth:`test_client` method creates an instance of this test
#: client class. Defaults to :class:`~flask.testing.FlaskClient`.
#:
#: .. versionadded:: 0.7
test_client_class: t.Optional[t.Type["FlaskClient"]] = None