pytest : assert almost equal. How to do assert almost equal with py.test for floats without resorting to something like: assert x - 0.00001 <= y <= x + ...
確定! 回上一頁