pytest raises `` 用法 ---- 用`@pytest.mark.raises()'装饰符标记测试将标记测试执行的代码预计会引发错误。这不同于“@pytest.mark.xfail()”,因为这并不意味着 ...
確定! 回上一頁