def METHOD_NAME():
    dtype = np.float32
    complex_dtype = np.complex64
    M = 8
    tol = 1e-3
    shape = (16, 16, 16)
    dim = len(shape)
    kxyz = utils.gen_nu_pts(M, dim=dim).astype(dtype)
    kxyz_gpu = gpuarray.to_gpu(kxyz)
    plan = Plan(1, shape, eps=tol, dtype=complex_dtype)
    with pytest.raises(TypeError, match="`x` must be a vector") as err:
        plan.setpts(kxyz)