mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-17 11:32:45 +08:00
Merge pull request #220 from thewtex/freeimage_error
BUG: Fix testing failures when FreeImage not installed.
This commit is contained in:
@@ -31,7 +31,7 @@ def _load_preferred_plugins():
|
||||
try:
|
||||
use_plugin(plugin, kind=func)
|
||||
break
|
||||
except (ImportError, RuntimeError):
|
||||
except (ImportError, RuntimeError, OSError):
|
||||
pass
|
||||
|
||||
# Use PIL as the default imread plugin, since matplotlib (1.2.x)
|
||||
|
||||
Reference in New Issue
Block a user