It has method that test for raised exception called pytest.raises. We can use the following pretty simple example:.
確定! 回上一頁