bpo-43901: Fix refleaks in test_module by pablogsal · Pull Request #25754 · python/cpython
I'm still missing another leak:
𓋹 ./python.exe -m test test_module -R :
0:00:00 load avg: 2.89 Run tests sequentially
0:00:00 load avg: 2.89 [1/1] test_module
beginning 9 repetitions
123456789
.........
test_module leaked [1, 1, 1, 1] references, sum=4
test_module failed
== Tests result: FAILURE ==
1 test failed:
test_module
Total duration: 2.0 sec
Tests result: FAILURE