Idea: helper to assert two values being "close"
We support comparing values, which is fine for > and <. But for many attributes, == makes no sense because they are floats and are unlikely to match exactly. math.isclose() is a nice solution, but if it is used in an assert, we will only be testing a boolean and therefore we don't get automatic nice output of the values in the comparison, as we do for comparisons.
How about a "check" function e.g. check_is_close(a, b, abs_tol=0.001) which does the assert using isclose but gives a helpful error message if failing?