From e9efbbcf16347d6b6cf1880655b9e87553d6388f Mon Sep 17 00:00:00 2001 From: Andreas Mueller Date: Mon, 26 Sep 2011 20:15:49 +0200 Subject: [PATCH] adjusted default value test to new default values... what does that test do? --- scikits/image/filter/tests/test_ctmf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scikits/image/filter/tests/test_ctmf.py b/scikits/image/filter/tests/test_ctmf.py index f338db62..7b269868 100644 --- a/scikits/image/filter/tests/test_ctmf.py +++ b/scikits/image/filter/tests/test_ctmf.py @@ -105,7 +105,7 @@ def test_04_01_half_masked(): def test_default_values(): img = (np.random.random((20, 20)) * 255).astype(np.uint8) mask = np.ones((20, 20), dtype=np.uint8) - result1 = median_filter(img, mask, radius=1, percent=50) + result1 = median_filter(img, mask, radius=2, percent=50) result2 = median_filter(img) np.testing.assert_array_equal(result1, result2)