Skip to content

Commit 17cc30e

Browse files
committed
Skip coverage in type checking statement
1 parent 1e32edd commit 17cc30e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

importlib_metadata/_py39compat.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"""
44
from typing import TYPE_CHECKING, Any, Optional, Tuple
55

6-
if TYPE_CHECKING: # -> prevent circular imports on runtime.
6+
if TYPE_CHECKING: # pragma: no cover
7+
# Prevent circular imports on runtime.
78
from . import Distribution, EntryPoint
89
else:
910
Distribution = EntryPoint = Any

0 commit comments

Comments
 (0)