From 4f0463d623ab079510dee132425c518cd2bcc161 Mon Sep 17 00:00:00 2001 From: ninglinLiu Date: Sun, 8 Nov 2026 08:29:18 +0800 Subject: [PATCH] docs: remove duplicated words in testing tutorial annotations --- .../tutorial001_py310/annotations/en/test_main_001.md | 4 ++-- .../tutorial001_py310/annotations/en/test_main_002.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs_src/tutorial/fastapi/app_testing/tutorial001_py310/annotations/en/test_main_001.md b/docs_src/tutorial/fastapi/app_testing/tutorial001_py310/annotations/en/test_main_001.md index 936b84b92d..85968e4bd8 100644 --- a/docs_src/tutorial/fastapi/app_testing/tutorial001_py310/annotations/en/test_main_001.md +++ b/docs_src/tutorial/fastapi/app_testing/tutorial001_py310/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_py310/annotations/en/test_main_002.md b/docs_src/tutorial/fastapi/app_testing/tutorial001_py310/annotations/en/test_main_002.md index 0f8555a8dd..92624ed71a 100644 --- a/docs_src/tutorial/fastapi/app_testing/tutorial001_py310/annotations/en/test_main_002.md +++ b/docs_src/tutorial/fastapi/app_testing/tutorial001_py310/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**.