From 2191d296113438d431c47a8d864ba7ba8b6b30d2 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Fri, 28 Oct 2011 14:36:05 -0700 Subject: [PATCH] ENH: In test, do not compute hull twice. --- skimage/morphology/tests/test_convex_hull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/morphology/tests/test_convex_hull.py b/skimage/morphology/tests/test_convex_hull.py index ad063458..2d150abd 100644 --- a/skimage/morphology/tests/test_convex_hull.py +++ b/skimage/morphology/tests/test_convex_hull.py @@ -53,7 +53,7 @@ def test_possible_hull(): [4, 6]]) ph = possible_hull(image) - assert_array_equal(possible_hull(image), expected) + assert_array_equal(ph, expected) if __name__ == "__main__": np.testing.run_module_suite()