pytest+assert使用方法

常用方法: assert xx 判斷xx爲真 assert not xx 判斷xx不爲真 assert a in b 判斷b包含a assert a == b 判斷a等於b assert a != b 判斷a不等於b demo:
相關文章
相關標籤/搜索