From c722eef93a81805f9464851414d349f40949a555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sat, 20 Sep 2025 20:41:05 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Tweak=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_return_none_stringified_annotations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_return_none_stringified_annotations.py b/tests/test_return_none_stringified_annotations.py index 06f151fe3d..be052d532e 100644 --- a/tests/test_return_none_stringified_annotations.py +++ b/tests/test_return_none_stringified_annotations.py @@ -8,7 +8,8 @@ def test_no_content(): app = FastAPI() @app.get("/no-content", status_code=http.HTTPStatus.NO_CONTENT) - def return_no_content() -> "None": ... # pragma: no cover + def return_no_content() -> "None": + return client = TestClient(app) response = client.get("/no-content")