Hi, after reading, i consider the naming of "does_not_raise" much more to the point than "wont_raise" (my original wish), so thanks a lot for pointing out that variant :)
i would prefer a singleton. Cheers, Ronny On 30.03.2017 18:50, Florian Bruhin wrote: > 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 > _______________________________________________ pytest-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pytest-dev
