mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 19:00:47 +08:00
Corrected Otsu test error raising assertion
This commit is contained in:
@@ -167,7 +167,7 @@ def test_otsu_astro_image():
|
||||
|
||||
def test_otsu_one_color_image():
|
||||
img = np.ones((10, 10), dtype=np.uint8)
|
||||
assert_raises(TypeError, threshold_otsu, img)
|
||||
assert_raises(ValueError, threshold_otsu, img)
|
||||
|
||||
def test_li_camera_image():
|
||||
camera = skimage.img_as_ubyte(data.camera())
|
||||
|
||||
Reference in New Issue
Block a user