code: def test_append_tensorarray(self):
      l = tensor_array_ops.TensorArray(
          dtypes.int32, size=0, dynamic_size=True
      )
      l1 = data_structures.list_append(l, 1)
      l2 = data_structures.list_append(l1, 2)
  
      with self.cached_session() as sess:
          self.assertAllEqual(self.evaluate(l1.stack()), [1])
          self.assertAllEqual(self.evaluate(l2.stack()), [1, 2])
  
imports: from tensorflow.python.autograph.operators import data_structures
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import list_ops
  from tensorflow.python.ops import tensor_array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 10 for calling the ListTest obj's underlying member method code with example usage: obj.test_append_tensorarray() without return types