From cd9126fc48800a4ac2f0476297d20fd5eb5ac65e Mon Sep 17 00:00:00 2001 From: Sam Sneddon Date: Mon, 19 Jun 2023 20:05:28 +0000 Subject: [PATCH] Bug 1837494 [wpt PR 40457] - Ignore urllib3's warnings when run on LibreSSL, a=testonly Automatic update from web-platform-tests Ignore urllib3's warnings when run on LibreSSL This allows tests to run against the Xcode-provided Python 3, where the ssl module is linked against LibreSSL. -- wpt-commits: 9859cc67b427bb95c83a29cf664a9aae27c35198 wpt-pr: 40457 --- testing/web-platform/tests/tools/pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/web-platform/tests/tools/pytest.ini b/testing/web-platform/tests/tools/pytest.ini index bf58dc409aa2..3347ec6dbdbc 100644 --- a/testing/web-platform/tests/tools/pytest.ini +++ b/testing/web-platform/tests/tools/pytest.ini @@ -10,6 +10,8 @@ filterwarnings = # ignore importlib changes which six is unlikely to ever adopt ignore:_SixMetaPathImporter.exec_module\(\) not found; falling back to load_module\(\):ImportWarning ignore:_SixMetaPathImporter.find_spec\(\) not found; falling back to find_module\(\):ImportWarning + # ignore urllib3's warning when not using OpenSSL + ignore:.*currently the 'ssl' module is compiled with.*::urllib3 # ignore mozinfo deprecation warnings ignore:distutils Version classes are deprecated\. Use packaging\.version instead\.:DeprecationWarning:mozinfo # ingore mozinfo's dependency on distro -- 2.11.4.GIT