[issue22764] object lifetime fragility in unittest tests

Antoine Pitrou report at bugs.python.org
Thu Oct 30 12:03:37 CET 2014


Antoine Pitrou added the comment:

> Here's my understanding: the test is testing that a an object ref only held in the traceback object of the exception is cleaned up such that it can be collected

The best way to check would be to revert the case.py changes in 6ab3193e890e. My intuition is that the test would then fail, but succeed with your changes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22764>
_______________________________________


More information about the Python-bugs-list mailing list