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")