def METHOD_NAME(self, dtype):
    x = cupy.linspace(-2, 4, 6, dtype=dtype)
    condlist = [x < 0, x > 0]
    funclist = [lambda x: -x, lambda x: x]
    with pytest.raises(NotImplementedError):
        cupy.piecewise(x, condlist, funclist)