assert 斷言1. 判斷兩個數值是否相等,相等則認爲是True 2. ... def test_demo9(self): assert 5<6 if __name__ == '__main__': pytest.main(['-sv']).
確定! 回上一頁