Merge pull request #5570 from tk0miya/pytest-3.9

test: Give filterwarnings=all by ini file
This commit is contained in:
Takeshi KOMIYA
2018-10-30 00:40:28 +09:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ strict_optional = False
[tool:pytest]
filterwarnings =
all
ignore::DeprecationWarning:docutils.io
[coverage:run]

View File

@@ -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