Skip to content

Commit f1570dc

Browse files
committed
Ignore various warnings from Python 3.10
benjaminp/six#341 benjaminp/six#352 pypa/setuptools#2517
1 parent 2637ec3 commit f1570dc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ filterwarnings = [
4242
"default:invalid escape sequence:DeprecationWarning",
4343
# ignore use of unregistered marks, because we use many to test the implementation
4444
"ignore::_pytest.warning_types.PytestUnknownMarkWarning",
45+
# https://github.com/benjaminp/six/issues/341
46+
"ignore:_SixMetaPathImporter\\.exec_module\\(\\) not found; falling back to load_module\\(\\):ImportWarning",
47+
# https://github.com/benjaminp/six/pull/352
48+
"ignore:_SixMetaPathImporter\\.find_spec\\(\\) not found; falling back to find_module\\(\\):ImportWarning",
49+
# https://github.com/pypa/setuptools/pull/2517
50+
"ignore:VendorImporter\\.find_spec\\(\\) not found; falling back to find_module\\(\\):ImportWarning",
51+
# https://github.com/pytest-dev/execnet/pull/127
52+
"ignore:isSet\\(\\) is deprecated, use is_set\\(\\) instead:DeprecationWarning",
4553
]
4654
pytester_example_dir = "testing/example_scripts"
4755
markers = [

0 commit comments

Comments
 (0)