[Python-Dev] assertRaises

Mark Hammond mhammond at skippinet.com.au
Fri Jul 18 00:51:45 CEST 2008


> >> 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.

For the record, and primarily to give the champion of this proposal a little
more resolve the run the python-dev gauntlet on this issue given the recent
- err - spirited discussions, I'm also strongly +1 on this idea.

Cheers,

Mark



More information about the Python-Dev mailing list