You've removed the `num_args=1` argument (which `lru_cache` doesn't support) here which is probably a bug.

The fact that the test suite doesn't break because of this is intriguing and should be investigated further.