This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients brian.curtin, dino.viehland, ezio.melotti, michael.foord, theller
Date 2010-02-04.19:35:04
SpamBayes Score 0.016055588
Marked as misclassified No
Message-id <1265312105.55.0.585574976814.issue7855@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-02-04 19:35:05michael.foordsetrecipients: + michael.foord, theller, ezio.melotti, dino.viehland, brian.curtin
2010-02-04 19:35:05michael.foordsetmessageid: <1265312105.55.0.585574976814.issue7855@psf.upfronthosting.co.za>
2010-02-04 19:35:04michael.foordlinkissue7855 messages
2010-02-04 19:35:04michael.foordcreate