使用 assert 斷言: assert 斷言是判斷測試執行結果是否符合預期的重要方法! pytest 中的 assert 要比 unittest 中的 assertEqual 等斷言方法靈活 ...
確定! 回上一頁