summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-07-09 14:32:26 +0200
committerJulian Berman <Julian@GrayVines.com>2021-07-09 14:35:48 +0200
commit1731dbac5ea29972501f2e176dc688f7fb324e22 (patch)
tree5ed8cc710971c17d8fe47f9cdcd3460d69d68977
parentdf2c9e8b56f21f15597efc1111e809ca12311a5c (diff)
downloadjsonschema-warnings.tar.gz
Don't allow warnings during test runs.warnings
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 0b22f32..d741610 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,6 +13,7 @@ changedir = {envtmpdir}
passenv = CODECOV* CI
setenv =
JSON_SCHEMA_TEST_SUITE = {toxinidir}/json
+ coverage,codecov: PYTHONWARNINGS = error,ignore:Creating a LegacyVersion:DeprecationWarning,
coverage,codecov: MAYBE_COVERAGE = coverage run -m
coverage,codecov: COVERAGE_RCFILE={toxinidir}/.coveragerc