def METHOD_NAME(self):
    ai = num.ones((3 * 3), dtype=int)
    axis = None
    msg = "a.ndim>1 case is not supported when axis=None"
    with pytest.raises(ValueError, match=msg):
        num.put_along_axis(self.a, ai, 100, axis=axis)