Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 6f052c8

Browse files
committed
added no covers
1 parent 36d928d commit 6f052c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gapic/templates/%namespace/%name_%version/%sub/__init__.py.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ __version__ = package_version.__version__
1313

1414
if sys.version_info >= (3, 8):
1515
from importlib import metadata
16-
else:
16+
else: # pragma: NO COVER
1717
# TODO(https://github.com/googleapis/python-api-core/issues/835): Remove
1818
# this code path once we drop support for Python 3.7
1919
import importlib_metadata as metadata
@@ -49,7 +49,7 @@ from .types.{{ proto.module_name }} import {{ enum.name }}
4949

5050
ParsedVersion = Tuple[int, ...]
5151

52-
def parse_version_to_tuple(version_string: str) -> ParsedVersion:
52+
def parse_version_to_tuple(version_string: str) -> ParsedVersion: # pragma: NO COVER
5353
"""Safely converts a semantic version string to a comparable tuple of integers.
5454
Example: "4.25.8" -> (4, 25, 8)
5555
Ignores non-numeric parts and handles common version formats.

0 commit comments

Comments
 (0)