Pytest 使用Python 的 assert 进行条件判断,最简单的测试函数如:. # test1.py def test_passing(): assert (1, 2, 3) == (1, 2, 3) ...
確定! 回上一頁