[issue45745] ./python -m test --help output for refleaks seems wrong

STINNER Victor report at bugs.python.org
Wed Nov 10 06:07:06 EST 2021


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

In Python 3.6, regrtest failed if --findleaks was used and gc.garbage was not empty after a test completed.

I modified regrtest to always run this check: --findleaks is now ignored.

But I also modified --findleaks to make it an alias to the --fail-env-changed option: non-zero exit code if a test fails with "ENV CHANGED" status.

I wrote PR 29514 to clarify the situation: remove --findleaks :-)

----------

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


More information about the Python-bugs-list mailing list