From 4244bb17a84a397633c8c9c95b7b407c84539630 Mon Sep 17 00:00:00 2001 From: Jeremy Metz Date: Wed, 24 Feb 2016 02:27:14 +0000 Subject: [PATCH] Fix: missing colon on additional tests of exclude_border values --- skimage/feature/tests/test_peak.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skimage/feature/tests/test_peak.py b/skimage/feature/tests/test_peak.py index e0bc87e5..c921661c 100644 --- a/skimage/feature/tests/test_peak.py +++ b/skimage/feature/tests/test_peak.py @@ -152,25 +152,25 @@ def test_ndarray_exclude_border(): # Check that bools work as expected assert_equal( peak.peak_local_max(nd_image, min_distance=2, - exclude_border=2, indices=False) + exclude_border=2, indices=False), peak.peak_local_max(nd_image, min_distance=2, exclude_border=True, indices=False) ) assert_equal( peak.peak_local_max(nd_image, min_distance=2, - exclude_border=0, indices=False) + exclude_border=0, indices=False), peak.peak_local_max(nd_image, min_distance=2, exclude_border=False, indices=False) ) # Check both versions with no border assert_equal( peak.peak_local_max(nd_image, min_distance=2, - exclude_border=0, indices=False) + exclude_border=0, indices=False), expectedNoBorder, ) assert_equal( peak.peak_local_max(nd_image, - exclude_border=False, indices=False) + exclude_border=False, indices=False), expectedNoBorder, )