我想用 pytest.raises 确保在我运行测试代码时至少引发了其中一个,但它似乎只接受一种异常类型作为参数。 这是 pytest.raises 的签名: raises(expected_exception ...
確定! 回上一頁