]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏ Reword to improve legibility of docs about `TestClient` (#4389)
authorRob Gilton <rob@adventurousmachines.com>
Tue, 10 May 2022 01:30:38 +0000 (02:30 +0100)
committerGitHub <noreply@github.com>
Tue, 10 May 2022 01:30:38 +0000 (01:30 +0000)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/en/docs/tutorial/testing.md

index 7e2ae84d006a9ece9e1a13800c8443253d5260b4..fea5a54f5c2de36978f40743c985a070e5c9ee43 100644 (file)
@@ -10,7 +10,7 @@ With it, you can use <a href="https://docs.pytest.org/" class="external-link" ta
 
 Import `TestClient`.
 
-Create a `TestClient` passing to it your **FastAPI** application.
+Create a `TestClient` by passing your **FastAPI** application to it.
 
 Create functions with a name that starts with `test_` (this is standard `pytest` conventions).