code: def test_list_pop(self):
      def f():
          l = special_functions.tensor_list([1, 2, 3])
          directives.set_element_type(l, dtype=dtypes.int32, shape=())
          s = l.pop()
          return s, l
  
      tr = self.transform(f, (directives_converter, lists))
  
      ts, tl = tr()
      r = list_ops.tensor_list_stack(tl, dtypes.int32)
      self.assertAllEqual(self.evaluate(r), [1, 2])
      self.assertAllEqual(self.evaluate(ts), 3)
  
file_path: tensorflow-upstream/tensorflow/python/autograph/converters/lists_test.py
imports: from tensorflow.python.autograph.converters import directives
  from tensorflow.python.autograph.converters import lists
  from tensorflow.python.autograph.core import converter_testing
  from tensorflow.python.autograph.lang import directives
  from tensorflow.python.autograph.lang import special_functions
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import list_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the ListTest obj's underlying member method code with example usage: obj.test_list_pop() and returns: s,  l