From 5e7f08ef8faf1df0d73d66dc36aaac8a05a27925 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sun, 26 Feb 2012 10:38:22 -0500 Subject: [PATCH] Fix test when tifffile plugin is not available. --- skimage/io/tests/test_tifffile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/io/tests/test_tifffile.py b/skimage/io/tests/test_tifffile.py index cd68b2d8..fd03804b 100644 --- a/skimage/io/tests/test_tifffile.py +++ b/skimage/io/tests/test_tifffile.py @@ -12,7 +12,7 @@ try: _plugins = sio.plugin_order() TF_available = True sio.use_plugin('tifffile') -except OSError: +except ImportError: TF_available = False