Pytest 里的断言实际上就是Python中的assert断言方法,常用断言方法如下:. assert xx :判断xx 为真;. assert not xx :判断xx 不为真;.
確定! 回上一頁