✅ Fix frontend test timeout with Starlette Git (#16408)

This commit is contained in:
Yurii Motov authored and GitHub committed 2026-09-29 10:26:14 +02:00
1 parent a3d205bf19
commit 79d42b219b
1 file changed
+2 -5
+2 -5
View File
@@ -578,11 +578,8 @@ async def test_frontend_dependency_restores_existing_dependency_stacks(
messages = []
async def receive():
return { # pragma: no cover
"type": "http.request",
"body": b"",
"more_body": False,
}
# Keep the connection open until the response finishes.
await anyio.sleep_forever()
async def send(message):
messages.append(message)