New submission from STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36719>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to