It would be great to be able to list which methods cause a reference leak.
Example right now on the 3.6 branch:
----
$ ./python -m test -R 3:3 test_os
Run tests sequentially
0:00:00 [1/1] test_os
beginning 6 repetitions
123456
......
test_os leaked [124, 124, 124] references, sum=372
test_os leaked [114, 114, 114] memory blocks, sum=342
test_os failed in 32 sec
1 test failed:
test_os
Total duration: 32 sec
Tests result: FAILURE
----
Which methods caused the refleak?
Is it possible to list test methods of a test file using unittest? |