| OLD | NEW |
| (Empty) |
| 1 # This file exist despite having .coveragerc in infra_libs because on Windows | |
| 2 # bots, we only execute tests in certain modules of infra_libs (including this | |
| 3 # one) and the latest version of pragma throws an exception when given a | |
| 4 # non-existant config file. | |
| 5 | |
| 6 [run] | |
| 7 include = ./infra_libs/logs/* | |
| 8 | |
| 9 [report] | |
| 10 exclude_lines = | |
| 11 # Have to re-enable the standard pragma | |
| 12 pragma: no cover | |
| 13 | |
| 14 # Don't complain about missing debug-only code: | |
| 15 def __repr__ | |
| 16 if self\.debug | |
| 17 | |
| 18 # Don't complain if tests don't hit defensive assertion code: | |
| 19 raise AssertionError | |
| 20 raise NotImplementedError | |
| 21 | |
| 22 # Don't complain if non-runnable code isn't run: | |
| 23 if 0: | |
| 24 if __name__ == ['"]__main__['"]: | |
| 25 | |
| 26 [expect_tests] | |
| 27 expected_coverage_min = 100 | |
| OLD | NEW |