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

@ -83,6 +83,10 @@ async def test_client_session_initialize():
async with (
ClientSession(server_to_client_receive, client_to_server_send) as session,
anyio.create_task_group() as tg,
client_to_server_send,
client_to_server_receive,
server_to_client_send,
server_to_client_receive,
):
tg.start_soon(mock_server)
tg.start_soon(listen_session)