Hi Walter! On Wed, Apr 5, 2017 at 7:00 PM Oliver Bestwalter <[email protected]> wrote:
> ... and this would be a bit harder to understand, because as Bruno found > out already, there are quite different expectations about what is supposed > to happen if I write pytest.raises(None). > > Am I missing something? > Not really, that's the gist of it. :) Myself I've experienced the need for this in pytest-qt's tests, which has lots of tests for a context manager which can raise an exception in various scenarios, but other than that I don't recall ever needing it actually. After all the discussion I'm also inclining to just drop the feature since there doesn't seem to be consensus for a good API. Cheers, Bruno.
_______________________________________________ pytest-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pytest-dev
