From f651cba56e2315e5b0844e7c7639f5f33e01ecbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sat, 9 Nov 2013 23:16:46 +0100 Subject: [PATCH] Reduce runtime of daisy visualization test case --- skimage/feature/tests/test_daisy.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/skimage/feature/tests/test_daisy.py b/skimage/feature/tests/test_daisy.py index 40781a64..7f4e85d7 100644 --- a/skimage/feature/tests/test_daisy.py +++ b/skimage/feature/tests/test_daisy.py @@ -86,9 +86,10 @@ def test_daisy_normalization(): def test_daisy_visualization(): - img = img_as_float(data.lena()[:128, :128].mean(axis=2)) + img = img_as_float(data.lena()[:32, :32].mean(axis=2)) descs, descs_img = daisy(img, visualize=True) - assert(descs_img.shape == (128, 128, 3)) + assert(descs_img.shape == (32, 32, 3)) + if __name__ == '__main__': from numpy import testing