pytest 允许你使用 python 标准的 assert 表达式写断言; ... Pattern[str]]] if kwargs: msg = "Unexpected keyword arguments passed to pytest.raises: " msg += " ...
確定! 回上一頁