def test_sigmaclip_negative_axis():
 data = np.ones((3, 4))
 sigma_clip(data, axis=(-1))

def test_sigmaclip_negative_axis ( ) : data = np . ones ( ( 3 , 4 ) ) sigma_clip ( data , axis = ( - 1 ) )
test that dimensions are expanded correctly even if axis is negative .