testing: silence deprecation warning from older pyparsing releases

This causes some tests to fail when using these older versions.
This commit is contained in:
Ran Benita 2020-11-05 16:08:54 +02:00
parent 3adece9fb7
commit 070f8e0f9d
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ xfail_strict = true
filterwarnings = [
"error",
"default:Using or importing the ABCs:DeprecationWarning:unittest2.*",
# produced by older pyparsing<=2.2.0.
"default:Using or importing the ABCs:DeprecationWarning:pyparsing.*",
"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)."