From c0d0984049b7849b0b01f1e1c0454cfb3d5826fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jostein=20B=C3=B8=20Fl=C3=B8ystad?= Date: Mon, 15 Jul 2013 12:01:04 +0200 Subject: [PATCH] unwrap: Make sure test data wraps along all dimensions. --- skimage/exposure/tests/test_unwrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/exposure/tests/test_unwrap.py b/skimage/exposure/tests/test_unwrap.py index 9e11c207..0115a192 100644 --- a/skimage/exposure/tests/test_unwrap.py +++ b/skimage/exposure/tests/test_unwrap.py @@ -50,7 +50,7 @@ def test_unwrap_2d(): def test_unwrap_3d(): - x, y, z = np.ogrid[:8, :12, :4] + x, y, z = np.ogrid[:8, :12, :16] image = 2 * np.pi * (x * 0.2 + y * 0.1 + z * 0.05) yield check_unwrap, image mask = np.zeros(image.shape, dtype=np.bool)