[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references
STINNER Victor
report at bugs.python.org
Wed Jun 7 17:52:15 EDT 2017
STINNER Victor added the comment:
Attached test_unparse.py file should be copied to Lib/test/test_tools/test_unparse.py to run:
./python -m test -R 1:2 -m test_files test_tools
With this change, I get this output:
---
haypo at selma$ ./python -m test -R 1:2 -m test_files test_tools
Run tests sequentially
0:00:00 load avg: 0.12 [1/1] test_tools
beginning 3 repetitions
123
...
test_tools leaked [6, 19] references, sum=25
test_tools leaked [3, 5] memory blocks, sum=8
test_tools failed
1 test failed:
test_tools
Total duration: 223 ms
Tests result: FAILURE
---
----------
Added file: http://bugs.python.org/file46931/test_unparse.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30542>
_______________________________________
More information about the Python-bugs-list
mailing list