Michael Foord <mich...@voidspace.org.uk> added the comment: Well, his comment was made after assertRaises had already been made a context manager.
Keeping the exception attached to the context manager is an interesting suggestion and a less 'surprising' change to the API. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6275> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com