[issue29512] regrtest refleak: implement bisection feature

STINNER Victor report at bugs.python.org
Thu Feb 9 06:46:03 EST 2017


New submission from STINNER Victor:

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?

----------
components: Tests
messages: 287405
nosy: haypo
priority: normal
severity: normal
status: open
title: regrtest refleak: implement bisection feature
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29512>
_______________________________________


More information about the Python-bugs-list mailing list