From 5ee33e59b8e9ac72e21dd9cc6422b84a0eebbaec Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 4 Mar 2017 22:47:22 -0800 Subject: [PATCH] coverage: Don't require coverage for NotImplementedErrors. --- tools/coveragerc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/coveragerc b/tools/coveragerc index 04136b3769..6fd73a2089 100644 --- a/tools/coveragerc +++ b/tools/coveragerc @@ -5,6 +5,8 @@ exclude_lines = pragma: no cover # Don't complain if non-runnable code isn't run: if False: + # Don't require coverage for base class NotImplementedErrors + raise NotImplementedError() [run] omit =