mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-12 12:30:16 +08:00
Add option as_grey to load()
This commit is contained in:
@@ -43,6 +43,7 @@ def test_coffee():
|
||||
def test_horse():
|
||||
""" Test that "horse" image can be loaded. """
|
||||
horse = data.horse()
|
||||
assert_equal(horse.ndim, 2)
|
||||
assert_equal(horse.dtype, np.dtype('bool'))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user