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
commit 94d326dbf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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