def test_scharr_v_mask():
 np.random.seed(0)
 result = filters.scharr_v(np.random.uniform(size=(10, 10)), np.zeros((10, 10), bool))
 assert_allclose(result, 0)

def test_scharr_v_mask ( ) : np . random . seed ( 0 ) result = filters . scharr_v ( np . random . uniform ( size = ( 10 , 10 ) ) , np . zeros ( ( 10 , 10 ) , bool ) ) assert_allclose ( result , 0 )
vertical scharr on a masked array should be zero .