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

Commit 7e02b53

Browse files
committed
1 parent d0775d2 commit 7e02b53

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

gapic/schema/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,11 +935,13 @@ def enforce_valid_library_settings(
935935

936936
# Check to see if selective gapic generation methods are valid.
937937
selective_gapic_errors = {}
938+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2446):
939+
# Workaround issue in Python 3.14 related to code coverage by adding `# pragma: no branch`
938940
for (
939941
method_name
940942
) in (
941943
library_settings.python_settings.common.selective_gapic_generation.methods
942-
):
944+
): # pragma: no branch
943945
if method_name not in self.all_methods:
944946
selective_gapic_errors[method_name] = "Method does not exist."
945947
elif not method_name.startswith(library_settings.version):

0 commit comments

Comments
 (0)