Michael Foord <mich...@voidspace.org.uk> added the comment: Dino - if you use assertRaises as a context manager the exception is kept as an attribute on the context. You can make assertions about the exception after the with block has executed.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7855> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com