Pytest 里的斷言實際上就是Python中的assert斷言方法,常用斷言方法如下:. assert xx :判斷xx 為真; assert not xx :判斷xx 不為真; assert a in b : ...
確定! 回上一頁