Marking a test with the @pytest.mark.raises() or @pytest.mark.setup_raises decorator will mark that the code the test executes is expected to raise an error.
確定! 回上一頁