mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-29 14:06:55 +08:00
Move test data to global data dir and fix test.
This commit is contained in:
@@ -49,7 +49,7 @@ class TestMultiImage():
|
||||
def setUp(self):
|
||||
# This multipage TIF file was created with imagemagick:
|
||||
# convert im1.tif im2.tif -adjoin multipage.tif
|
||||
self.img = io.MultiImage(os.path.join('data', 'multipage.tif'))
|
||||
self.img = io.MultiImage(os.path.join(data_dir, 'multipage.tif'))
|
||||
|
||||
def test_len(self):
|
||||
assert len(self.img) == 2
|
||||
|
||||
Reference in New Issue
Block a user