[issue38177] test_tools: test.test_tools.test_unparse.UnparseTestCase: test_tools leaked [36, 36, 36] references

STINNER Victor report at bugs.python.org
Sun Sep 15 06:26:39 EDT 2019


STINNER Victor <vstinner at python.org> added the comment:

Oh, test_unparse.UnparseTestCase.test_nonlocal has been fixed. Maybe by:

commit 0247e80f3c529900689425676342cb70ea31a13d
Author: Eddie Elizondo <eelizondo at fb.com>
Date:   Sat Sep 14 09:38:17 2019 -0400

    Fix leaks in Python-ast.c (#16127)

But there are more leaks.

vstinner at apu$ make && ./python -m test -R 3:3 test_tools -m test.test_tools.test_c_analyzer.test_c_analyzer_common.test_known.FromFileTests.test_typical

It seems like the test leaks since the test has been added by:

commit ee536b2020b1f0baad1286dbd4345e13870324af
Author: Eric Snow <ericsnowcurrently at gmail.com>
Date:   Wed Sep 11 19:49:45 2019 +0100

    bpo-36876: Add a tool that identifies unsupported global C variables. (#15877)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38177>
_______________________________________


More information about the Python-bugs-list mailing list