def METHOD_NAME(shape):
    """Test if works with scalar argument in place of an array"""
    @dpjit
    def func(shape):
        x = dpnp.empty_like(shape)
        return x
    with pytest.raises(errors.TypingError):
        func(shape)