use a ResourceWarning instead of check_active_rpc
Open
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 778
- Avg merge
- 2h 50m
- Merged PRs (30d)
- 3
Description
active_rpc_timeout is tricky to use and set, it would be better if rpc objects were closed by code under test, rather than us finding them and sweeping them up after the test.
leaving an active RPC lying around after the test shouldn't impact other tests because it should already be cleaned up by a combination of shutdown in `asyncio.run` and `__del__` methods
Contributor guide
Assessment
This issue has not been assessed yet.