Fix: missing colon on additional tests of exclude_border values

This commit is contained in:
Jeremy Metz
2016-02-24 02:27:14 +00:00
parent 488866cfe5
commit 4244bb17a8
+4 -4
View File
@@ -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,
)