From 6eb74903a59097901c7ba1381adfc1fd39dd6168 Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Sun, 30 Nov 2025 11:12:24 +0100 Subject: [PATCH] Update `testing.md` to use new code- include style --- docs/en/docs/tutorial/testing.md | 52 +------------------------------- 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/docs/en/docs/tutorial/testing.md b/docs/en/docs/tutorial/testing.md index 3dcf5dc4a..4bde260de 100644 --- a/docs/en/docs/tutorial/testing.md +++ b/docs/en/docs/tutorial/testing.md @@ -121,57 +121,7 @@ It has a `POST` operation that could return several errors. Both *path operations* require an `X-Token` header. -//// tab | Python 3.10+ - -```Python -{!> ../../docs_src/app_testing/app_b_an_py310/main.py!} -``` - -//// - -//// tab | Python 3.9+ - -```Python -{!> ../../docs_src/app_testing/app_b_an_py39/main.py!} -``` - -//// - -//// tab | Python 3.8+ - -```Python -{!> ../../docs_src/app_testing/app_b_an/main.py!} -``` - -//// - -//// tab | Python 3.10+ non-Annotated - -/// tip - -Prefer to use the `Annotated` version if possible. - -/// - -```Python -{!> ../../docs_src/app_testing/app_b_py310/main.py!} -``` - -//// - -//// tab | Python 3.8+ non-Annotated - -/// tip - -Prefer to use the `Annotated` version if possible. - -/// - -```Python -{!> ../../docs_src/app_testing/app_b/main.py!} -``` - -//// +{* ../../docs_src/app_testing/app_b_an_py310/main.py *} ### Extended testing file { #extended-testing-file }