[pytest-dev] [3.1 feature] "assert not raise exception" helper: opinions about the name
mail at florian-schulze.net
Fri Mar 31 02:13:28 EDT 2017
On 30 Mar 2017, at 23:36, holger krekel wrote:
> On Thu, Mar 30, 2017 at 23:08 +0200, Ronny Pfannschmidt wrote:
>> I do because we make something a "magical god function" again, more
>> of the rant tommorow.
> God functions or objects are usually ones that do many different
> Here, "pytest.raises" deals with the dependent code block's exception
> raising behaviour -- allowing None (to signal: no exception expected)
> does not change or much extend this functionality.
I think it also reads well. Which exceptions are expected to be raised?
More information about the pytest-dev