Skip to content

Commit 974466f

Browse files
committed
Ignore import warnings from gobject-introspection.
This is an incompatibility with Python 3.10 that is not fixed there yet. https://gitlab.gnome.org/GNOME/pygobject/-/issues/473
1 parent ce84623 commit 974466f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/testing/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ def pytest_configure(config):
2121
("filterwarnings", "error"),
2222
("filterwarnings",
2323
"ignore:.*The py23 module has been deprecated:DeprecationWarning"),
24+
("filterwarnings",
25+
r"ignore:DynamicImporter.find_spec\(\) not found; "
26+
r"falling back to find_module\(\):ImportWarning"),
2427
]:
2528
config.addinivalue_line(key, value)
2629

0 commit comments

Comments
 (0)