Skip to content

Commit fafd351

Browse files
committed
Run coverage tool on Python 3.14 to parse PEP 758 except syntax
1 parent b1e4d68 commit fafd351

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,9 @@ jobs:
300300
- name: Require 100% Coverage
301301
id: coverage
302302
run: |
303-
uv tool install 'coverage[toml]'
303+
# Pin to 3.14 so ``coverage`` can parse source files that use
304+
# PEP 758 syntax (parenthesis-free ``except E1, E2:``).
305+
uv tool install --python 3.14 'coverage[toml]'
304306
305307
coverage combine
306308
coverage html --skip-covered --skip-empty

0 commit comments

Comments
 (0)