From 6b817dc9307f25d7cbd1b958fa2b9d1138687202 Mon Sep 17 00:00:00 2001 From: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> Date: Tue, 24 Jun 2025 12:29:24 +0200 Subject: [PATCH] Update tests/test_openapi_async.py --- tests/test_openapi_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_openapi_async.py b/tests/test_openapi_async.py index 352f889a9..c6595fe3c 100644 --- a/tests/test_openapi_async.py +++ b/tests/test_openapi_async.py @@ -6,7 +6,7 @@ def test_allow_async_openapi(): async def async_openapi(): return {"foo": "bar"} - mod_app = FastAPI() # use fresh instance to not affect other tests + mod_app = FastAPI() mod_app.openapi = async_openapi mod_client = TestClient(mod_app) response = mod_client.get("/openapi.json")