From bda9b4fb3c3ee2892488555865da2b2b7b929e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Orieux?= Date: Fri, 6 Dec 2013 13:36:31 +0100 Subject: [PATCH] Fix travis test --- skimage/restoration/tests/test_restoration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/restoration/tests/test_restoration.py b/skimage/restoration/tests/test_restoration.py index b535fa4a..ce1a27a4 100644 --- a/skimage/restoration/tests/test_restoration.py +++ b/skimage/restoration/tests/test_restoration.py @@ -45,7 +45,7 @@ def test_unsupervised_wiener(): deconvolved = np.real(restoration.unsupervised_wiener( data, otf, reg=laplacian, is_real=False, user_params={"callback": lambda x: None})[0]) - path = pjoin(dirname(abspath("./tests/")), 'camera_unsup2.npy') + path = pjoin(dirname(abspath(__file__)), 'camera_unsup2.npy') np.testing.assert_allclose(deconvolved, np.load(path))