Skip to content

Commit bfcd796

Browse files
committed
Ignore various warnings from Python 3.10
benjaminp/six#341 benjaminp/six#352 pypa/setuptools#2517
1 parent 4b214a6 commit bfcd796

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ 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",
4551
]
4652
pytester_example_dir = "testing/example_scripts"
4753
markers = [

0 commit comments

Comments
 (0)