Ignore "assert False" statements in coverage
This commit is contained in:
parent
371939fb86
commit
7155b2277c
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue