Merge pull request #6170 from blueyed/imp

filterwarnings: ignore DeprecationWarning from nose
This commit is contained in:
Bruno Oliveira
2019-11-12 13:00:50 -03:00
committed by GitHub

View File

@@ -138,6 +138,7 @@ xfail_strict=true
filterwarnings =
error
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
# 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))