[Python-Dev] assertRaises

Alex Martelli aleaxit at gmail.com
Thu Jul 17 17:07:09 CEST 2008

On Thu, Jul 17, 2008 at 2:54 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> I said:
>> Let's just make assertRaises return the exception instance, it seems like it
>> feels the need correctly.
> and I meant "fills", not "feels", obviously...

+1 : enriching the existing method in a way that's perfectly
transparent and innocuous to all existing uses _feels_ right, because
it's more practical.


More information about the Python-Dev mailing list