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
This commit is contained in:
Bruno Oliveira 2018-01-08 20:32:45 -02:00
parent 794fb193ba
commit 3dd24f8d21
1 changed files with 3 additions and 0 deletions

View File

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