summaryrefslogtreecommitdiff
path: root/ci/parse_relnotes.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-02-09 08:04:42 -0700
committerNed Batchelder <ned@nedbatchelder.com>2023-02-09 08:04:42 -0700
commit1c2e2be9fbba200330ec84062eecf6662cbd5ee0 (patch)
treeec89fd7857eacdcb57a189950eac8329f8422972 /ci/parse_relnotes.py
parent712bd2ba1bbf9e9eb51393539378c80f8272fe3b (diff)
downloadpython-coveragepy-git-1c2e2be9fbba200330ec84062eecf6662cbd5ee0.tar.gz
test: adapt to latest pylint
Diffstat (limited to 'ci/parse_relnotes.py')
-rw-r--r--ci/parse_relnotes.py2
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))