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>
This commit is contained in:
Stephen Finucane
2017-12-29 13:02:32 +00:00
parent 7c0723fd46
commit 9a3ebaaff5
2 changed files with 1 additions and 2 deletions
-2
View File
@@ -40,9 +40,7 @@ def _filter_warnings():
ignore(category=DeprecationWarning, module='site') # virtualenv
ignore(category=PendingDeprecationWarning, module=r'_pytest\..*')
ignore(category=ImportWarning, module='backports')
ignore(category=ImportWarning, module='pkgutil')
ignore(category=ImportWarning, module='pytest_cov')
def _initialize_test_directory(session):