code: def assertAllEqual(self, a, b, msg=None):
      if not (
          isinstance(a, structured_tensor.StructuredTensor)
          or isinstance(b, structured_tensor.StructuredTensor)
      ):
          return super(StructuredTensorSpecTest, self).assertAllEqual(
              a, b, msg
          )
      if not (
          isinstance(a, structured_tensor.StructuredTensor)
          and isinstance(b, structured_tensor.StructuredTensor)
      ):
          # TODO(edloper) Add support for this once structured_factory_ops is added.
          raise ValueError("Not supported yet")
  
      self.assertEqual(repr(a.shape), repr(b.shape))
      self.assertEqual(set(a.field_names()), set(b.field_names()))
      for field in a.field_names():
          self.assertAllEqual(
              a.field_value(field), b.field_value(field)
          )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework import type_spec
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.ops.ragged import row_partition
  from tensorflow.python.ops.ragged.dynamic_ragged_shape import DynamicRaggedShape
  from tensorflow.python.ops.structured import structured_tensor
  from tensorflow.python.ops.structured.structured_tensor import StructuredTensor
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the StructuredTensorSpecTest obj's underlying member method code with example usage: obj.assertAllEqual(a, b, msg) and returns: super