py.test 3.0 includes an approx() function (well, really class) that is very useful for this purpose. import pytest assert 2.2 ...
確定! 回上一頁