content of test_sample.py def inc(x): return x + 1 def test_answer(): assert inc(3) == 5. To execute it: $ pytest =========================== test session ...
確定! 回上一頁