A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-July/081371.html below:

[Python-Dev] assertRaises

[Python-Dev] assertRaises [Python-Dev] assertRaisesJonathan Lange jml at mumak.net
Fri Jul 18 07:50:06 CEST 2008
On Fri, Jul 18, 2008 at 8:51 AM, Mark Hammond <mhammond at skippinet.com.au> wrote:
>> >> 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.
>

I've got code and tests for this. I'll file a patch on the tracker as
soon as I get the chance -- Internet is dicey at the moment.

jml
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4