Skip to content

Commit

Permalink
Merge pull request sphinx-doc#5570 from tk0miya/pytest-3.9
Browse files Browse the repository at this point in the history
test: Give filterwarnings=all by ini file
  • Loading branch information
tk0miya committed Oct 29, 2018
2 parents 44edaa1 + c2590a4 commit a4f1b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ strict_optional = False

[tool:pytest]
filterwarnings =
all
ignore::DeprecationWarning:docutils.io

[coverage:run]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4f1b0e

Please sign in to comment.