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

Florian Bruhin me at the-compiler.org
Thu Mar 30 12:50:50 EDT 2017


Hi,

On Thu, Mar 30, 2017 at 04:12:30PM +0000, Bruno Oliveira wrote:
>    - pytest.does_not_raise;

I like that name - seems like proper English to me, while the others
don't.

> *Another question* is if someone sees a problem in making it a singleton
> like in the example above, or if we should force users instantiate it each
> time: pytest.does_not_raise().

Fine by me, I don't really have an opinion on this though.

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/


More information about the pytest-dev mailing list