[issue11798] Test cases not garbage collected after run
Jean-Paul Calderone
report at bugs.python.org
Thu Apr 7 18:43:50 CEST 2011
Jean-Paul Calderone <invalid at example.invalid> added the comment:
> I thought unittest was just handed a bunch of TestCase instances and couldn't do much about insuring they were garbage collected.
True. But unittest could ensure that it doesn't keep a reference to each TestCase instance after it finishes running it. Then, if no one else has a reference either, it can be garbage collected.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11798>
_______________________________________
More information about the Python-bugs-list
mailing list