Ignore "assert False" statements in coverage

This commit is contained in:
Ran Benita 2020-02-15 17:07:32 +02:00
parent 371939fb86
commit 7155b2277c
1 changed files with 1 additions and 0 deletions

View File

@ -24,5 +24,6 @@ exclude_lines =
\#\s*pragma: no cover \#\s*pragma: no cover
^\s*raise NotImplementedError\b ^\s*raise NotImplementedError\b
^\s*return NotImplemented\b ^\s*return NotImplemented\b
^\s*assert False(,|$)
^\s*if TYPE_CHECKING: ^\s*if TYPE_CHECKING: