]> git.ipfire.org Git - thirdparty/Python/cpython.git/blame - .coveragerc
gh-118527: Intern code consts in free-threaded build (#118667)
[thirdparty/Python/cpython.git] / .coveragerc
CommitLineData
2f3ee02c
AA
1[run]
2branch = True
3
4[report]
5# Regexes for lines to exclude from consideration
6exclude_lines =
7 # Don't complain if non-runnable code isn't run:
8 if 0:
9 if __name__ == .__main__.:
ee3bf45e
AW
10 raise AssertionError\(
11
12 # Empty bodies in protocols or abstract methods
13 ^\s*def [a-zA-Z0-9_]+\(.*\)(\s*->.*)?:\s*\.\.\.(\s*#.*)?$
14 ^\s*\.\.\.(\s*#.*)?$
2f3ee02c
AA
15
16 .*# pragma: no cover
17 .*# pragma: no branch
18
19 # Additions for IDLE:
20 .*# htest #
21 if not (_htest or _utest):
22 if not .*_utest:
23 if .*_htest:
24