Skip to content

Commit 9f7bbec

Browse files
authored
Remove coverage for global variable-related logic
1 parent 13077ae commit 9f7bbec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

google/api_core/exceptions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,9 +565,11 @@ def _is_informative_grpc_error(rpc_exc):
565565

566566

567567
def _parse_grpc_error_details(rpc_exc):
568+
# pragma: NO COVER
568569
if not rpc_status:
569570
_warn_could_not_import_grpcio_status()
570571
return [], None
572+
# pragma: NO COVER
571573
try:
572574
status = rpc_status.from_call(rpc_exc)
573575
except NotImplementedError: # workaround

0 commit comments

Comments
 (0)