Add TYPE_CHECKING to coverage excludes (#47668)

This commit is contained in:
Marc Mueller 2021-03-09 14:57:44 +01:00 committed by GitHub
parent 84226da404
commit 0c61cb555c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1167,3 +1167,6 @@ exclude_lines =
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# TYPE_CHECKING block is never executed during pytest run
if TYPE_CHECKING: