Enforce warnings under test

This commit is contained in:
Anthony Sottile 2019-01-07 13:51:02 -08:00
parent 894c4ac9ee
commit afe1ba4f61

View file

@ -1,3 +1,9 @@
[pytest]
norecursedirs = .git .* *.egg* old docs dist build
addopts = -rw
filterwarnings =
error
# python2.x `configparser` warns about native string but it works fine
ignore:You passed a bytestring as `filenames`.*:DeprecationWarning
# python3.4 raises this when importing setuptools
ignore:The value of convert_charrefs will become True in 3.5.*:DeprecationWarning