[issue19880] unittest: on failure, TestCase.run() keeps a reference to the exception
STINNER Victor
report at bugs.python.org
Tue Dec 3 23:48:47 CET 2013
STINNER Victor added the comment:
contextmanager_leak.py: shorter script to demonstrate the issue.
Replacing "exc_info = sys.exc_info()" with "sys.exc_info()" works around the issue.
----------
Added file: http://bugs.python.org/file32953/contextmanager_leak.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19880>
_______________________________________
More information about the Python-bugs-list
mailing list