Skip to content

Commit

Permalink
Turn warnings into errors for tests
Browse files Browse the repository at this point in the history
This helps to find various issues with e.g. deprecations on newer Python
versions or usage of deprecated pytest features.
  • Loading branch information
The-Compiler committed Apr 26, 2022
1 parent f576f50 commit dcf2e76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
addopts=--strict-markers --tb=native -p pytester --runpytest=subprocess --durations=20 -rfEX
xfail_strict = True
filterwarnings =
error
ignore::hypothesis.errors.NonInteractiveExampleWarning

0 comments on commit dcf2e76

Please sign in to comment.