code: def testMutationDirtiesList(self):
      a = autotrackable.AutoTrackable()
      b = autotrackable.AutoTrackable()
      a.l = [b]
      c = autotrackable.AutoTrackable()
      a.l.insert(0, c)
      checkpoint = util.Checkpoint(a=a)
      with self.assertRaisesRegex(
          ValueError, "A list element was replaced"
      ):
          checkpoint.save(os.path.join(self.get_temp_dir(), "ckpt"))
  
file_path: tensorflow-upstream/tensorflow/python/trackable/autotrackable_test.py
imports: import os
  import numpy
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
  from tensorflow.python.trackable import autotrackable
  from tensorflow.python.trackable import data_structures
  from tensorflow.python.util import nest
label_desc: Use image node_id 4 for calling the InterfaceTests obj's underlying member method code with example usage: obj.testMutationDirtiesList() without return types