[issue9815] assertRaises as a context manager keeps tracebacks and frames alive
Michael Foord
report at bugs.python.org
Sun Feb 10 17:06:20 CET 2013
Michael Foord added the comment:
The patch py3k_fix__AssertRaisesContext.patch looks good. A test would be nice. The code already attempts to sanitize the traceback, so sanitizing __cause__ and __context__ seems reasonable.
----------
versions: +Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9815>
_______________________________________
More information about the Python-bugs-list
mailing list