diff --git a/tox.ini b/tox.ini index e1b611f58..b03941657 100644 --- a/tox.ini +++ b/tox.ini @@ -142,6 +142,8 @@ filterwarnings = error default:Using or importing the ABCs:DeprecationWarning:unittest2.* ignore:Module already imported so cannot be rewritten:pytest.PytestWarning + # https://github.com/pytest-dev/pytest/issues/5974 + default:\(rm_rf\) error removing.*: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)) # produced by pytest-xdist