☰
Debian Codegraph
@
5.1.3-1
5.1.2-1
/
/
tests
/
compat.py
☽
☼
tests/compat.py
code
plain
raw
MIT
2020 - 2026 Cole Maclean <
[email protected]
>
debian/copyright
1
import asyncio
2
3
4
async def cleanup_server(server: asyncio.AbstractServer) -> None:
5
try:
6
await asyncio.wait_for(server.wait_closed(), 0.1)
7
except asyncio.TimeoutError:
8
pass