test-backend: Document # nocoverage comments.

This commit is contained in:
Tim Abbott 2017-03-04 23:46:59 -08:00
parent e7389b4162
commit 5050e42212
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ if __name__ == "__main__":
print("It looks like your changes lost 100% test coverage in one or more files")
print("Usually, the right fix for this is to add some tests.")
print("But also check out the include/exclude lists in tools/test-backend.")
print("If this line intentionally is not tested, you can use a # nocoverage comment.")
print("To run this check locally, use `test-backend --coverage`.")
if options.profile:
prof.disable()