[Solution found!] 我注意到这个问题专门询问了py.test。py.test 3.0包含一个approx()功能(很好,实际上是类),为此非常有用。 import pytest assert 2.2 ...
確定! 回上一頁