mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-11 11:25:30 +08:00
Fix: missing colon on additional tests of exclude_border values
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user