code: def _testMostSpecificCompatibleShapeHelper(self, x, y, expected):
      mcs = tensor_shape.TensorShape(x).most_specific_compatible_shape(
          tensor_shape.TensorShape(y)
      )
      mcs_dims = mcs.dims
      if expected is None or mcs_dims is None:
          self.assertIs(expected, mcs_dims)
      else:
          self.assertEqual(expected, mcs.as_list())
  
imports: from absl.testing import parameterized
  from tensorflow.core.framework import tensor_shape_pb2
  from tensorflow.core.function import trace_type
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 12 for calling the ShapeTest obj's underlying member method code with example usage: obj._testMostSpecificCompatibleShapeHelper(x, y, expected) without return types