diff --git a/lib/matplotlib/tests/test_getattr.py b/lib/matplotlib/tests/test_getattr.py index a34e82ed81ba..f0f5823600ca 100644 --- a/lib/matplotlib/tests/test_getattr.py +++ b/lib/matplotlib/tests/test_getattr.py @@ -26,7 +26,7 @@ def test_getattr(module_name): """ try: module = import_module(module_name) - except (ImportError, RuntimeError) as e: + except (ImportError, RuntimeError, OSError) as e: # Skip modules that cannot be imported due to missing dependencies pytest.skip(f'Cannot import {module_name} due to {e}')
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: