Michael Foord <mich...@voidspace.org.uk> added the comment: If you want the exception then use assertRaises in a with statement. The exception is available as an attribute on the context manager.
---------- resolution: -> rejected stage: -> committed/rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9587> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com