From 070f8e0f9d9ffaea6d36a1d91e7f6639b6672cd1 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Thu, 5 Nov 2020 16:08:54 +0200 Subject: [PATCH] testing: silence deprecation warning from older pyparsing releases This causes some tests to fail when using these older versions. --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index dce93a606..2b2543111 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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)."