[New-bugs-announce] [issue36719] regrtest --findleaks should fail if an uncollectable object is found

STINNER Victor report at bugs.python.org
Thu Apr 25 10:49:40 EDT 2019


New submission from STINNER Victor <vstinner at redhat.com>:

regrtest (python3 -m test) has a --findleaks option to log warning if the garbage collector finds uncollectable objects. Problem: regrtest only logs a warning, but exit with a success in that case.

Attached PR makes regrtest fail in that case and adds an unit test for --findleaks.

----------
components: Tests
messages: 340843
nosy: vstinner
priority: normal
severity: normal
status: open
title: regrtest --findleaks should fail if an uncollectable object is found
versions: Python 3.8

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


More information about the New-bugs-announce mailing list