From f1570dc038585c8e5746f9bfdeb76321cd8be722 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 14 Apr 2021 11:31:28 +0200 Subject: [PATCH] Ignore various warnings from Python 3.10 https://github.com/benjaminp/six/issues/341 https://github.com/benjaminp/six/pull/352 https://github.com/pypa/setuptools/pull/2517 --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index dc26b4d8dd..bead1ec7fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,14 @@ filterwarnings = [ "default:invalid escape sequence:DeprecationWarning", # ignore use of unregistered marks, because we use many to test the implementation "ignore::_pytest.warning_types.PytestUnknownMarkWarning", + # https://github.com/benjaminp/six/issues/341 + "ignore:_SixMetaPathImporter\\.exec_module\\(\\) not found; falling back to load_module\\(\\):ImportWarning", + # https://github.com/benjaminp/six/pull/352 + "ignore:_SixMetaPathImporter\\.find_spec\\(\\) not found; falling back to find_module\\(\\):ImportWarning", + # https://github.com/pypa/setuptools/pull/2517 + "ignore:VendorImporter\\.find_spec\\(\\) not found; falling back to find_module\\(\\):ImportWarning", + # https://github.com/pytest-dev/execnet/pull/127 + "ignore:isSet\\(\\) is deprecated, use is_set\\(\\) instead:DeprecationWarning", ] pytester_example_dir = "testing/example_scripts" markers = [