Correct syntax in pytest.raises().