Skip to content

Commit 4cd0fde

Browse files
authored
Merge pull request #8001 from bluetech/silence-pyparsing-warning
testing: silence deprecation warning from older pyparsing releases
2 parents 1d4cc7e + 070f8e0 commit 4cd0fde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ xfail_strict = true
2323
filterwarnings = [
2424
"error",
2525
"default:Using or importing the ABCs:DeprecationWarning:unittest2.*",
26+
# produced by older pyparsing<=2.2.0.
27+
"default:Using or importing the ABCs:DeprecationWarning:pyparsing.*",
2628
"default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.*",
2729
"ignore:Module already imported so cannot be rewritten:pytest.PytestWarning",
2830
# produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8)."

0 commit comments

Comments
 (0)