Move test data to global data dir and fix test.

This commit is contained in:
Stefan van der Walt
2009-10-12 08:51:18 +02:00
parent b19c0368fe
commit 33afe601aa
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -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