tests: filterwarnings: do not crash with "(rm_rf)" warning
Ref: https://github.com/pytest-dev/pytest/issues/5974
This commit is contained in:
parent
813ef9e88f
commit
6b2bae9392
2
tox.ini
2
tox.ini
|
@ -142,6 +142,8 @@ filterwarnings =
|
||||||
error
|
error
|
||||||
default:Using or importing the ABCs:DeprecationWarning:unittest2.*
|
default:Using or importing the ABCs:DeprecationWarning:unittest2.*
|
||||||
ignore:Module already imported so cannot be rewritten:pytest.PytestWarning
|
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).
|
# 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))
|
||||||
# produced by pytest-xdist
|
# produced by pytest-xdist
|
||||||
|
|
Loading…
Reference in New Issue