def test_sigma_clip_scalar_mask():
 data = np.arange(5)
 result = sigma_clip(data, sigma=100.0, iters=1)
 assert (result.mask.shape != ())

def test_sigma_clip_scalar_mask ( ) : data = np . arange ( 5 ) result = sigma_clip ( data , sigma = 100.0 , iters = 1 ) assert ( result . mask . shape != ( ) )
test that the returned mask is not a scalar .