[New-bugs-announce] [issue17908] Unittest runner needs an option to call gc.collect() after each test
Guido van Rossum
report at bugs.python.org
Sun May 5 04:20:44 CEST 2013
New submission from Guido van Rossum:
It would be nice if there was a command-line option to tell the test runner to call gc.collect() after each test.
See https://groups.google.com/d/msg/python-tulip/tstjvOQowIU/IRihc8NCHZUJ -- Glyph points out that always doing this is problematic because it slows down tests too much; OTOH it's a useful option to have in case you're tracking down something that happens (or doesn't happen) when an object is collected (e.g. in __del__).
----------
components: Library (Lib)
keywords: easy
messages: 188420
nosy: gvanrossum
priority: normal
severity: normal
status: open
title: Unittest runner needs an option to call gc.collect() after each test
type: enhancement
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17908>
_______________________________________
More information about the New-bugs-announce
mailing list