Skip to content

Commit 351ea23

Browse files
committed
add pragma
1 parent 30bff9a commit 351ea23

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ from .client import {{ service.client_name }}
5555

5656
try:
5757
from google.api_core import client_logging # type: ignore
58-
CLIENT_LOGGING_SUPPORTED = True
58+
CLIENT_LOGGING_SUPPORTED = True # pragma: NO COVER
5959
except ImportError: # pragma: NO COVER
6060
CLIENT_LOGGING_SUPPORTED = False
6161

gapic/templates/%namespace/%name_%version/%sub/services/%service/client.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ except AttributeError: # pragma: NO COVER
4242

4343
try:
4444
from google.api_core import client_logging # type: ignore
45-
CLIENT_LOGGING_SUPPORTED = True
45+
CLIENT_LOGGING_SUPPORTED = True # pragma: NO COVER
4646
except ImportError: # pragma: NO COVER
4747
CLIENT_LOGGING_SUPPORTED = False
4848

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/grpc.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ from .base import {{ service.name }}Transport, DEFAULT_CLIENT_INFO
4545

4646
try:
4747
from google.api_core import client_logging # type: ignore
48-
CLIENT_LOGGING_SUPPORTED = True
48+
CLIENT_LOGGING_SUPPORTED = True # pragma: NO COVER
4949
except ImportError: # pragma: NO COVER
5050
CLIENT_LOGGING_SUPPORTED = False
5151

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/rest.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ except AttributeError: # pragma: NO COVER
4343

4444
try:
4545
from google.api_core import client_logging # type: ignore
46-
CLIENT_LOGGING_SUPPORTED = True
46+
CLIENT_LOGGING_SUPPORTED = True # pragma: NO COVER
4747
except ImportError: # pragma: NO COVER
4848
CLIENT_LOGGING_SUPPORTED = False
4949

0 commit comments

Comments
 (0)