coverage: Don't require coverage for NotImplementedErrors.

This commit is contained in:
Tim Abbott 2017-03-04 22:47:22 -08:00
parent 401ae3db97
commit 5ee33e59b8
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ exclude_lines =
pragma: no cover pragma: no cover
# Don't complain if non-runnable code isn't run: # Don't complain if non-runnable code isn't run:
if False: if False:
# Don't require coverage for base class NotImplementedErrors
raise NotImplementedError()
[run] [run]
omit = omit =