Merge pull request #6170 from blueyed/imp
filterwarnings: ignore DeprecationWarning from nose
This commit is contained in:
commit
1b84f099b6
1
tox.ini
1
tox.ini
|
@ -138,6 +138,7 @@ xfail_strict=true
|
||||||
filterwarnings =
|
filterwarnings =
|
||||||
error
|
error
|
||||||
default:Using or importing the ABCs:DeprecationWarning:unittest2.*
|
default:Using or importing the ABCs:DeprecationWarning:unittest2.*
|
||||||
|
default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.*
|
||||||
ignore:Module already imported so cannot be rewritten:pytest.PytestWarning
|
ignore:Module already imported so cannot be rewritten:pytest.PytestWarning
|
||||||
# produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8).
|
# produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8).
|
||||||
ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))
|
ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))
|
||||||
|
|
Loading…
Reference in New Issue