code: def test_ine_trailing_metadata(metadata):
      aio_rpc_error = grpc.aio.AioRpcError(
          StatusCode.OK,
          None,
          trailing_metadata=metadata,
          details="I am a grpc error",
      )
      err = InternalNetworkError(aio_rpc_error)
      if metadata:
          assert (
              str(err)
              == "I am a grpc error\ntrailing_metadata=Metadata((('content-length', '0'),))"
          )
      else:
          assert str(err) == "I am a grpc error"
  
file_path: jina/tests/unit/exceptions/test_exceptions.py
imports: import traceback
  import grpc.aio
  import pytest
  from grpc import StatusCode
  from grpc.aio import Metadata
  from jina.excepts import BaseJinaException, ExecutorError, InternalNetworkError
label_desc: Use image node_id 5 for calling a global function with example usage: test_ine_trailing_metadata(metadata) without return types