When you want to add a test to verify that an exception is raised, you can use pytest.raises() like this: When the code doesn't raise an ...
確定! 回上一頁