diff --git a/skimage/segmentation/tests/test_clear_border.py b/skimage/segmentation/tests/test_clear_border.py index 67739426..51431260 100644 --- a/skimage/segmentation/tests/test_clear_border.py +++ b/skimage/segmentation/tests/test_clear_border.py @@ -30,13 +30,13 @@ def test_clear_border(): def test_clear_border_non_binary(): image = np.array([[1, 2, 3, 1, 2], - [3, 4, 5, 4, 2], + [3, 3, 5, 4, 2], [3, 4, 5, 4, 2], [3, 3, 2, 1, 2]]) result = clear_border(image.copy()) expected = np.array([[0, 0, 0, 0, 0], - [0, 4, 5, 4, 0], + [0, 0, 5, 4, 0], [0, 4, 5, 4, 0], [0, 0, 0, 0, 0]])