code: def test_assert_nested_mismatched_elements(self):
      expected_msg = r"""test:
  
  Structure 0:
  A\(a=3, b=4\)
  
  Structure 1:
  A\(a=3, b=5\)
  
  Exceptions:
  
  Path: b
  Exception: AssertionError
  4 != 5"""
  
      namedtuple = collections.namedtuple("A", "a, b")
  
      with self.assertRaisesRegex(AssertionError, expected_msg):
          self.assertAllAssertsNested(
              self.assertEqual,
              namedtuple(a=3, b=4),
              namedtuple(a=3, b=5),
              msg="test",
          )
  
imports: import collections
  from absl import flags
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import test_combinations
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.util.seed_stream import SeedStream
label_desc: Use image node_id 14 for calling the _TestCaseTest obj's underlying member method code with example usage: obj.test_assert_nested_mismatched_elements() without return types