mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-13 12:40:24 +08:00
Only call MultiImage if PIL is available to ensure nose handles this case properly
This commit is contained in:
@@ -64,7 +64,8 @@ class TestMultiImage():
|
||||
def setUp(self):
|
||||
# This multipage TIF file was created with imagemagick:
|
||||
# convert im1.tif im2.tif -adjoin multipage.tif
|
||||
self.img = MultiImage(os.path.join(data_dir, 'multipage.tif'))
|
||||
if PIL_available:
|
||||
self.img = MultiImage(os.path.join(data_dir, 'multipage.tif'))
|
||||
|
||||
@skipif(not PIL_available)
|
||||
def test_len(self):
|
||||
|
||||
Reference in New Issue
Block a user