iequals returns True when comparing iterables of different lengths if one contains mock.ANY
iequals returns True when comparing iterables of different lengths if one contains mock.ANY: a task in Repo2RLEnv R2E-Gym / SWEGEN (Harbor dataset). The iequals function from more-itertools incorrectly returns True when comparing an empty iterable with a non-empty iterable, if the non-empty one…
The task
The `iequals` function from `more-itertools` incorrectly returns `True` when comparing an empty iterable with a non-empty iterable, if the non-empty one contains `mock.ANY` (or any object that compares equal to everything).
Part of FineEnvs/repo2rlenv-r2e-gym.