Close unclosed resources in the whole project (#267)

* Close resources

* Close all resources

* Update pyproject.toml

* Close all resources

* Close all resources

* try now...

* try to ignore this

* try again

* try adding one more..

* try now

* try now

* revert ci changes
This commit is contained in:
Marcelo Trylesinski
2025-03-13 11:59:45 +01:00
committed by GitHub
parent 1691b905e2
commit 94d326dbf1
8 changed files with 64 additions and 11 deletions

View File

@@ -43,7 +43,13 @@ async def test_request_id_match() -> None:
)
# Start server task
async with anyio.create_task_group() as tg:
async with (
anyio.create_task_group() as tg,
client_writer,
client_reader,
server_writer,
server_reader,
):
tg.start_soon(run_server)
# Send initialize request