return x + 1 def test_answer(): assert func(3) == 5. The test. $ pytest ... pytest discovers all tests following its Conventions for Python test discovery, ...
確定! 回上一頁