[pytest-dev] [3.1 feature] "assert not raise exception" helper: opinions about the name

Bruno Oliveira nicoddemus at gmail.com
Tue Apr 25 11:40:04 EDT 2017


Hi guys,

On Fri, Apr 7, 2017 at 4:31 PM Bruno Oliveira <nicoddemus at gmail.com> wrote:

>
> On Thu, Apr 6, 2017 at 3:30 AM holger krekel <holger at merlinux.eu> wrote:
>
>>
>> I am fine to have user-tests guide the decision ...  so now for me it's
>> only between offering a context manager or offering a special
>> "NoExceptionRaised" object which you can give to pytest.raises(...).
>> so we are almost there and for me, the user-testing can decide that so
>> it's
>> not much discussion left to do at least from my side ...
>>
>
> Made a quick poll again, showing all the possibilities we have been
> considering here (including giving up and not adding anything), and
> pytest.do_not_raise won by 100% of the opinions... but in fact only 5
> people actually took interest and replied, so I don't think this pool has
> much value TBH. :P
>

Anybody would like to make poll on twitter or somewhere else about this? As
I said my own polling was not very conclusive.

Cheers,
Bruno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20170425/010c2516/attachment.html>


More information about the pytest-dev mailing list