def test_horse():
 horse = data.horse()
 assert_equal(horse.ndim, 2)
 assert_equal(horse.dtype, np.dtype('bool'))

def test_horse ( ) : horse = data . horse ( ) assert_equal ( horse . ndim , 2 ) assert_equal ( horse . dtype , np . dtype ( 'bool' ) )
test that "horse" image can be loaded .