Move data files to common directory.

This commit is contained in:
Stefan van der Walt
2009-08-22 17:50:57 -07:00
parent 5455857ede
commit 734379ec9c
3 changed files with 5 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
import os.path
data_dir = os.path.join(os.path.dirname(__file__), 'tests/data')
@@ -3,11 +3,10 @@ import os.path
import numpy as np
from numpy.testing import *
from scikits.image import data_dir
from scikits.image.io import *
from scikits.image.filter import *
data_dir = os.path.join(os.path.dirname(__file__), './data/')
class TestLPIFilter2D():
img = imread(os.path.join(data_dir, 'camera.png'),
flatten=True)[:-101,:-100]

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB