From 3dd24f8d218408f421aa9c88b7343bbb54e423f8 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 8 Jan 2018 20:32:45 -0200 Subject: [PATCH] Ignore ImportWarnings regarding package resolution The problem is described/discussed in #3061 Ideally this should be a temporary solution until we find a proper one which gets rid of the warning --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 38ebaf69f..32996626a 100644 --- a/tox.ini +++ b/tox.ini @@ -215,6 +215,9 @@ filterwarnings = ignore:.*type argument to addoption.*:DeprecationWarning # produced by python >=3.5 on execnet (pytest-xdist) ignore:.*inspect.getargspec.*deprecated, use inspect.signature.*:DeprecationWarning + # ignore warning about package resolution using __spec__ or __package__ + # should be a temporary solution, see #3061 for discussion + ignore:.*can't resolve package from __spec__ or __package__.*:ImportWarning [flake8] max-line-length = 120