From 401ae3db97930b6913c777c5a886b704e48571a8 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 4 Mar 2017 22:40:56 -0800 Subject: [PATCH] coverage: Don't complain about if False coverage. This fixes a test failure on master. --- tools/coveragerc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/coveragerc b/tools/coveragerc index 0b55410dff..04136b3769 100644 --- a/tools/coveragerc +++ b/tools/coveragerc @@ -3,6 +3,8 @@ exclude_lines = # Re-enable the standard coverage pragma pragma: no cover + # Don't complain if non-runnable code isn't run: + if False: [run] omit =