nbmake
nbmake copied to clipboard
Passing `-Werror` to `pytest --nbmake` has no effect
Describe the bug
Passing -Werror to pytest --nbmake has no effect. It should, instead, cause the tests to fail if the code in a notebook causes a warning.
To Reproduce Steps to reproduce the behavior:
- Create a notebook which emits a warning.
- Run it using
pytest --nbmake --Werror **/*ipynb
Expected behavior I expect tests to fail.
hi @garrison, thanks for this report. We generally intend to follow conventions in pytest so I'll mark this one as a bug.