Add option as_grey to load()

This commit is contained in:
François Boulogne
2016-07-17 14:13:23 +02:00
parent 6685651da5
commit f292717dac
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -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'))