Open garrison opened 1 year ago
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.
-Werror
pytest --nbmake
To Reproduce Steps to reproduce the behavior:
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.
Describe the bug Passing
-Werror
topytest --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:
pytest --nbmake --Werror **/*ipynb
Expected behavior I expect tests to fail.