diff --git a/setup.cfg b/setup.cfg index cb199d257..bd52e0cec 100644 --- a/setup.cfg +++ b/setup.cfg @@ -55,6 +55,7 @@ strict_optional = False [tool:pytest] filterwarnings = + all ignore::DeprecationWarning:docutils.io [coverage:run] diff --git a/tox.ini b/tox.ini index 6715fd338..64668d1b8 100644 --- a/tox.ini +++ b/tox.ini @@ -24,7 +24,7 @@ setenv = PYTHONWARNINGS = all,ignore::ImportWarning:pkgutil,ignore::ImportWarning:importlib._bootstrap,ignore::ImportWarning:importlib._bootstrap_external,ignore::ImportWarning:pytest_cov.plugin,ignore::DeprecationWarning:site,ignore::DeprecationWarning:_pytest.assertion.rewrite,ignore::DeprecationWarning:_pytest.fixtures,ignore::DeprecationWarning:distutils SPHINX_TEST_TEMPDIR = {envdir}/testbuild commands= - pytest -Wall --durations 25 {posargs} + pytest --durations 25 {posargs} [testenv:flake8] basepython = python3