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.