def METHOD_NAME(self, func_name):
    shape = (5,) * 3
    func = getattr(num, func_name)
    in_num = np.random.random(shape)
    res_out = np.random.random(size=(1, 5, 5))
    msg = r"output array must have int64 dtype"
    with pytest.raises(ValueError, match=msg):
        func(in_num, out=res_out)