Skip to content

Commit 5ebe08d

Browse files
committed
chore: try removing NO COVER pragmas
1 parent c506726 commit 5ebe08d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

google/api_core/operations_v1/abstract_operations_base_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class AbstractOperationsBaseClientMeta(type):
5151

5252
_transport_registry = OrderedDict() # type: Dict[str, Type[OperationsTransport]]
5353
_transport_registry["rest"] = OperationsRestTransport
54-
if HAS_ASYNC_REST_DEPENDENCIES: # pragma: NO COVER
54+
if HAS_ASYNC_REST_DEPENDENCIES: # try: NO COVER
5555
_transport_registry["rest_asyncio"] = AsyncOperationsRestTransport
5656

5757
def get_transport_class(

tests/unit/operations_v1/test_operations_rest_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def test_operations_client_client_options(
358358
patched.return_value = None
359359
client = client_class(
360360
client_options=options, transport=transport_name
361-
) # pragma: NO COVER
361+
) # try: NO COVER
362362
patched.assert_called_once_with(
363363
credentials=None,
364364
credentials_file=None,
@@ -368,7 +368,7 @@ def test_operations_client_client_options(
368368
quota_project_id="octopus",
369369
client_info=transports.base.DEFAULT_CLIENT_INFO,
370370
always_use_jwt_access=True,
371-
) # pragma: NO COVER
371+
) # try: NO COVER
372372

373373
# Check the case credentials_file is provided
374374
with warn_deprecated_credentials_file():

0 commit comments

Comments
 (0)