mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-06 05:16:40 +08:00
Merge pull request #1893 from OrkoHunter/test_thresholding_lena
Remove duplicate threshold functionality test
This commit is contained in:
@@ -157,11 +157,6 @@ def test_otsu_coins_image_as_float():
|
||||
assert 0.41 < threshold_otsu(coins) < 0.42
|
||||
|
||||
|
||||
def test_otsu_lena_image():
|
||||
img = skimage.img_as_ubyte(data.lena())
|
||||
with expected_warnings(['grayscale']):
|
||||
assert 140 < threshold_otsu(img) < 142
|
||||
|
||||
def test_otsu_astro_image():
|
||||
img = skimage.img_as_ubyte(data.astronaut())
|
||||
with expected_warnings(['grayscale']):
|
||||
|
||||
Reference in New Issue
Block a user