diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-02-09 08:04:42 -0700 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-02-09 08:04:42 -0700 |
commit | 1c2e2be9fbba200330ec84062eecf6662cbd5ee0 (patch) | |
tree | ec89fd7857eacdcb57a189950eac8329f8422972 /ci/parse_relnotes.py | |
parent | 712bd2ba1bbf9e9eb51393539378c80f8272fe3b (diff) | |
download | python-coveragepy-git-1c2e2be9fbba200330ec84062eecf6662cbd5ee0.tar.gz |
test: adapt to latest pylint
Diffstat (limited to 'ci/parse_relnotes.py')
-rw-r--r-- | ci/parse_relnotes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/parse_relnotes.py b/ci/parse_relnotes.py index deebae5d..df83818a 100644 --- a/ci/parse_relnotes.py +++ b/ci/parse_relnotes.py @@ -74,7 +74,7 @@ def sections(parsed_data): elif ttype == "text": text.append(ttext) else: - raise Exception(f"Don't know ttype {ttype!r}") + raise RuntimeError(f"Don't know ttype {ttype!r}") yield (*header, "\n".join(text)) |