File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
google/api_core/operations_v1 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff 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 ():
You can’t perform that action at this time.
0 commit comments