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:
相关文章
相关标签/搜索