From 7d47dc07d81c5bd993d5a3f1769a0e476064e16a Mon Sep 17 00:00:00 2001 From: ninglinLiu Date: Wed, 11 Nov 2026 12:23:35 +0800 Subject: [PATCH] docs: remove duplicated words in testing tutorial annotations --- .../app_testing/tutorial001/annotations/en/test_main_001.md | 4 ++-- .../app_testing/tutorial001/annotations/en/test_main_002.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs_src/tutorial/fastapi/app_testing/tutorial001/annotations/en/test_main_001.md b/docs_src/tutorial/fastapi/app_testing/tutorial001/annotations/en/test_main_001.md index 936b84b92d..85968e4bd8 100644 --- a/docs_src/tutorial/fastapi/app_testing/tutorial001/annotations/en/test_main_001.md +++ b/docs_src/tutorial/fastapi/app_testing/tutorial001/annotations/en/test_main_001.md @@ -1,8 +1,8 @@ -1. Import the `app` from the the `main` module. +1. Import the `app` from the `main` module. 2. We create a `TestClient` for the FastAPI `app` and put it in the variable `client`. -3. Then we use use this `client` to **talk to the API** and send a `POST` HTTP operation, creating a new hero. +3. Then we use this `client` to **talk to the API** and send a `POST` HTTP operation, creating a new hero. 4. Then we get the **JSON data** from the response and put it in the variable `data`. diff --git a/docs_src/tutorial/fastapi/app_testing/tutorial001/annotations/en/test_main_002.md b/docs_src/tutorial/fastapi/app_testing/tutorial001/annotations/en/test_main_002.md index 2597ac4d6f..4196b0dfc9 100644 --- a/docs_src/tutorial/fastapi/app_testing/tutorial001/annotations/en/test_main_002.md +++ b/docs_src/tutorial/fastapi/app_testing/tutorial001/annotations/en/test_main_002.md @@ -1,4 +1,4 @@ -1. Import the `get_session` dependency from the the `main` module. +1. Import the `get_session` dependency from the `main` module. 2. Define the new function that will be the new **dependency override**.