I built `pyleak` to catch these event loop blocks automatically: https://github.com/deepankarm/pyleak
Use it as a pytest plugin:
import pytest
@pytest.mark.no_leak
async def test_my_agent():
...
I built `pyleak` to catch these event loop blocks automatically: https://github.com/deepankarm/pyleak
Use it as a pytest plugin:
import pytest
@pytest.mark.no_leak
async def test_my_agent():
...