diff --git a/referencing/_core.py b/referencing/_core.py index 705fbe1..ec2d51b 100644 --- a/referencing/_core.py +++ b/referencing/_core.py @@ -10,7 +10,7 @@ try: from typing_extensions import TypeVar -except ImportError: +except ImportError: # pragma: no cover from typing import TypeVar from referencing import exceptions diff --git a/referencing/retrieval.py b/referencing/retrieval.py index 4e0b1e8..53e0512 100644 --- a/referencing/retrieval.py +++ b/referencing/retrieval.py @@ -10,7 +10,7 @@ try: from typing_extensions import TypeVar -except ImportError: +except ImportError: # pragma: no cover from typing import TypeVar from referencing import Resource diff --git a/referencing/typing.py b/referencing/typing.py index b58a535..a614464 100644 --- a/referencing/typing.py +++ b/referencing/typing.py @@ -9,7 +9,7 @@ try: from typing_extensions import TypeVar -except ImportError: +except ImportError: # pragma: no cover from typing import TypeVar if TYPE_CHECKING: