blob: 088c2da89baaac8bc97c4a16996b2456c1562c92 [file] [log] [blame]
Michael Hwange11be5d2017-09-21 12:19:32 -04001# .coveragerc to control coverage.py
2[run]
3branch = True
4
5[report]
6# Regexes for lines to exclude from consideration
7exclude_lines =
8 # Have to re-enable the standard pragma
9 pragma: no cover
10
11 # Don't complain about missing debug-only code:
12 def __repr__
13 if self\.debug
14
15 # Don't complain if tests don't hit defensive assertion code:
16 raise AssertionError
17 raise NotImplementedError
18
19 # Don't complain if non-runnable code isn't run:
20 if 0:
21 if __name__ == .__main__.: