code: def testNumericSummaryOnStrTensor(self):
      x = np.array(["spam", "egg"], dtype=np.object_)
      out = tensor_format.numeric_summary(x)
      self.assertEqual(
          ["No numeric summary available due to tensor dtype: object."],
          out.lines,
      )
  
imports: import re
  import numpy
  from tensorflow.core.framework import tensor_pb2
  from tensorflow.core.framework import tensor_shape_pb2
  from tensorflow.core.framework import types_pb2
  from tensorflow.python.debug.cli import cli_test_utils
  from tensorflow.python.debug.cli import tensor_format
  from tensorflow.python.debug.lib import debug_data
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 6 for calling the NumericSummaryTest obj's underlying member method code with example usage: obj.testNumericSummaryOnStrTensor() without return types