Skip to content

Commit e92c098

Browse files
authoredApr 22, 2024
Merge pull request matplotlib#28109 from meeseeksmachine/auto-backport-of-pr-28100-on-v3.9.x
Backport PR matplotlib#28100 on branch v3.9.x (TST: wxcairo sometimes raises OSError on missing cairo libraries)

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/matplotlib/tests/test_getattr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_getattr(module_name):
2626
"""
2727
try:
2828
module = import_module(module_name)
29-
except (ImportError, RuntimeError) as e:
29+
except (ImportError, RuntimeError, OSError) as e:
3030
# Skip modules that cannot be imported due to missing dependencies
3131
pytest.skip(f'Cannot import {module_name} due to {e}')
3232

0 commit comments

Comments
 (0)
Please sign in to comment.