We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 877ad96 + 077e643 commit e92c098Copy full SHA for e92c098
lib/matplotlib/tests/test_getattr.py
@@ -26,7 +26,7 @@ def test_getattr(module_name):
26
"""
27
try:
28
module = import_module(module_name)
29
- except (ImportError, RuntimeError) as e:
+ except (ImportError, RuntimeError, OSError) as e:
30
# Skip modules that cannot be imported due to missing dependencies
31
pytest.skip(f'Cannot import {module_name} due to {e}')
32
0 commit comments