Issue 23475: asyncio: reference leak in test_close_kill_running() (original) (raw)

The test_close_kill_running() test of test.test_asyncio.test_subprocess leaks references. It may be a reference cycle.


haypo@selma$ ./python -Wall -b -m test.regrtest -R 3:3:refleaks -m test_close_kill_running test_asyncio [1/1] test_asyncio beginning 6 repetitions 123456 ...... test_asyncio leaked [388, 388, 388] references, sum=1164 test_asyncio leaked [84, 85, 85] memory blocks, sum=254 1 test failed: test_asyncio

See also the issue #23353.

Note: test_close_dont_kill_finished() doesn't leak.