In this case, pytest.raises is the equivalent of unittest.TestCase.assertRaises, and it also accepts that it be called both as a method and as a context ...
確定! 回上一頁