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 <>
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.
Date User Action Args
2008-11-27 14:07:42purcellsetrecipients: + purcell, dleonard0
2008-11-27 14:07:42purcellsetmessageid: <>
2008-11-27 14:07:41purcelllinkissue4444 messages
2008-11-27 14:07:41purcellcreate