[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-27 Thread STINNER Victor

STINNER Victor added the comment:

test_tools leak was a false alarm which has been fixed in regrtest by bpo-30776.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-26 Thread STINNER Victor

STINNER Victor added the comment:

Example of 3 runs:

test_tools leaked [10, 15, 0] references, sum=25
test_tools leaked [2, 13, 0] references, sum=15
test_tools leaked [180, 0, 0] references, sum=180

The bpo-30776 should fix this issue by ignoring the result, since it's a false 
positive in pratice.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor

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@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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor

Changes by STINNER Victor :


--
keywords:  -easy (C)

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-07 Thread STINNER Victor

STINNER Victor added the comment:

Sorry, I tagged the issue too early as "[EASY]" while it's a super complex 
bug... I'm unable to say if the issue is a real leak or not...

--
title: [EASY] test_files() of test_tools.test_unparse.DirectoryTestCase leaks 
references -> test_files() of test_tools.test_unparse.DirectoryTestCase leaks 
references

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30542] test_files() of test_tools.test_unparse.DirectoryTestCase leaks references

2017-06-01 Thread STINNER Victor

New submission from STINNER Victor:

haypo@selma$ ./python -m test -R 3:3 test_tools -m test_files
Run tests sequentially
0:00:00 load avg: 0.57 [1/1] test_tools
beginning 6 repetitions
123456
..
test_tools leaked [0, 4, 0] references, sum=4
test_tools leaked [0, 3, 0] memory blocks, sum=3
test_tools failed

1 test failed:
test_tools

Total duration: 12 sec
Tests result: FAILURE

Note: I found it using Zachary's x86 Gentoo Refleaks buildbot and bpo-29512.

--
components: Tests
messages: 294963
nosy: haypo
priority: normal
severity: normal
status: open
title: test_files() of test_tools.test_unparse.DirectoryTestCase leaks 
references
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com