Merge pull request #220 from thewtex/freeimage_error

BUG: Fix testing failures when FreeImage not installed.
This commit is contained in:
Stefan van der Walt
2012-07-20 12:31:00 -07:00
+1 -1
View File
@@ -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)