Skip to content

Commit

Permalink
Elevate tox pytest warnings to errors (#478)
Browse files Browse the repository at this point in the history
* Elevate tox pytest warnings to errors

* add numpy warn exception
  • Loading branch information
bjlittle authored Sep 28, 2023
1 parent 1418e52 commit 052871f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ usedevelop =
true
commands =
mkdir --parents {toxinidir}/test_images
pytest {posargs} --fail_extra_image_cache --generated_image_dir {toxinidir}{/}test_images
pytest {posargs} --fail_extra_image_cache --generated_image_dir {toxinidir}{/}test_images -W error -W "ignore:numpy.ndarray size changed:RuntimeWarning"
{env:POST_COMMAND:}


Expand Down

0 comments on commit 052871f

Please sign in to comment.