def METHOD_NAME():
    """Check that arguments from previous calls are immutable."""
    @curry
    def factory(arg: int, other: int) -> Tuple[int, int]:
        return (arg, other)
    cached = factory(arg=1)
    assert cached(other=2) == (1, 2)
    assert cached(other=3) == (1, 3)