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 <rep...@bugs.python.org> <http://bugs.python.org/issue17908> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com