Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2723052 commit 8b38c22Copy full SHA for 8b38c22
1 file changed
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