summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-12-22 18:50:53 +0000
committerStephen Finucane <stephen@that.guru>2017-12-29 13:02:32 +0000
commit9a3ebaaff5a24ed9f9ae9481acc0dbfd46281096 (patch)
treedbf06f609c772470366a07d6da8af1de5a133508 /tox.ini
parent7c0723fd46825ea44a98ae22ac45d08ca0ddd88b (diff)
downloadsphinx-git-9a3ebaaff5a24ed9f9ae9481acc0dbfd46281096.tar.gz
Resolve warning filter issues
There's an issue with 'pkgutils' and namespace packages. This has been reported against setuptools [1], but until this is resolved, we simply need to live with it. Ensure said warnings are filtered from tox too and remove some unnecessary ones. [1] https://github.com/pypa/setuptools/issues/1111 Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 0d19225f8..99e243ad6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,6 +20,7 @@ deps =
du13: docutils==0.13.1
du14: docutils==0.14
setenv =
+ PYTHONWARNINGS = all,ignore::ImportWarning:pkgutil
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
commands=
pytest -Wall --durations 25 {posargs}