Round 18 reviewers (and earlier) noted CI noise from the routing test helper: `_drive(coro)` ran a fresh event loop but never closed it or called `shutdown_asyncgens`, so the MockTransport-backed httpx async generators in the providers were finalised by GC in a later task and emitted "Response.aiter_text.aclose was never awaited" / "Task was destroyed but it is pending" warnings. Explicitly close the loop after `run_until_complete`, running `shutdown_asyncgens` first so the iterators finalise in this task. Tests still pass and the warnings are gone. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||