code: def test_list_append_python(self):
      with context.eager_mode():
          a = constant(3.0)
          l = tl.TensorList(a.shape, a.dtype)
          l.append(a)
          self.assertEqual(l.count().numpy(), 1)
          l.append(a)
          self.assertEqual(l.count().numpy(), 2)
          _ = l.pop()
          self.assertEqual(l.count().numpy(), 1)
          a2 = l.pop()
          self.assertEqual(l.count().numpy(), 0)
          self.assertEqual(a.numpy(), a2.numpy())
  
file_path: tensorflow-upstream/tensorflow/python/autograph/utils/tensor_list_test.py
imports: from tensorflow.python.autograph.utils import tensor_list
  from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework.constant_op import constant
  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 3 for calling the TensorListTest obj's underlying member method code with example usage: obj.test_list_append_python() without return types