Exclude @overload from coverage (#56021)

This commit is contained in:
Erik Montnemery
2021-09-09 21:24:23 +02:00
committed by GitHub
parent f79de2a5bc
commit 3af4b2639b

View File

@@ -1276,5 +1276,6 @@ exclude_lines =
raise AssertionError raise AssertionError
raise NotImplementedError 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: if TYPE_CHECKING:
@overload