Exclude @overload from coverage (#56021)
This commit is contained in:
parent
f79de2a5bc
commit
3af4b2639b
1 changed files with 2 additions and 1 deletions
|
@ -1276,5 +1276,6 @@ exclude_lines =
|
|||
raise AssertionError
|
||||
raise NotImplementedError
|
||||
|
||||
# TYPE_CHECKING block is never executed during pytest run
|
||||
# TYPE_CHECKING and @overload blocks are never executed during pytest run
|
||||
if TYPE_CHECKING:
|
||||
@overload
|
||||
|
|
Loading…
Add table
Reference in a new issue