blob: 5cdc5204dd46636145b39e18d5ed7723ecef23ea [file] [log] [blame]
# This file exist despite having .coveragerc in infra_libs because on Windows
# bots, we only execute tests in certain modules of infra_libs (including this
# one) and the latest version of pragma throws an exception when given a
# non-existant config file.
[run]
include = ./infra_libs/infra_types/*
[report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == ['"]__main__['"]:
[expect_tests]
expected_coverage_min = 100