pytest.approx
now raises a TypeError
when given an unordered sequence (such as set
).
Note that this implies that custom classes which only implement __iter__
and __len__
are no longer supported as they don't guarantee order.
pytest.approx
now raises a TypeError
when given an unordered sequence (such as set
).
Note that this implies that custom classes which only implement __iter__
and __len__
are no longer supported as they don't guarantee order.