coverage: Don't complain about if False coverage.

This fixes a test failure on master.
This commit is contained in:
Tim Abbott 2017-03-04 22:40:56 -08:00
parent bc0cd7eb90
commit 401ae3db97
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
exclude_lines = exclude_lines =
# Re-enable the standard coverage pragma # Re-enable the standard coverage pragma
pragma: no cover pragma: no cover
# Don't complain if non-runnable code isn't run:
if False:
[run] [run]
omit = omit =