[issue22764] object lifetime fragility in unittest tests
Antoine Pitrou
report at bugs.python.org
Thu Oct 30 12:04:52 CET 2014
Antoine Pitrou added the comment:
Le 30/10/2014 12:00, Robert Collins a écrit :
>
> Ah, perhaps the test was flawed to start with, since no effort is
> made
in it to capture the error and then process it. If we pass a result in,
the traceback will have a ref and gc.collect() can't possibly be
discarding the entire structure.
Yes, that would be another way to fix it, probably.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22764>
_______________________________________
More information about the Python-bugs-list
mailing list