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 purcell
Recipients dleonard0, purcell
Date 2008-11-27.14:07:41
SpamBayes Score 7.687536e-06
Marked as misclassified No
Message-id <1227794862.52.0.72831518265.issue4444@psf.upfronthosting.co.za>
In-reply-to
Content
I like this change, since assertRaises can be a bit messy when passing it 
a local function.
 
I'd suggest modifying the patch such that the AssertRaisesContext class is 
also used when callableObj is provided, which would eliminate the 
duplication of the code that checks for exceptions.
History
Date User Action Args
2008-11-27 14:07:42purcellsetrecipients: + purcell, dleonard0
2008-11-27 14:07:42purcellsetmessageid: <1227794862.52.0.72831518265.issue4444@psf.upfronthosting.co.za>
2008-11-27 14:07:41purcelllinkissue4444 messages
2008-11-27 14:07:41purcellcreate