code: def test_pop_tensor_list(self):
      initial_list = constant_op.constant([[1, 2], [3, 4]])
      elem_shape = constant_op.constant([2])
      l = list_ops.tensor_list_from_tensor(
          initial_list, element_shape=elem_shape
      )
  
      opts = data_structures.ListPopOpts(
          element_dtype=initial_list.dtype, element_shape=(2,)
      )
  
      with self.assertRaises(NotImplementedError):
          data_structures.list_pop(l, 0, opts)
  
      with self.cached_session() as sess:
          l, x = data_structures.list_pop(l, None, opts)
          self.assertAllEqual(self.evaluate(x), [3, 4])
  
          t = list_ops.tensor_list_stack(
              l, element_dtype=initial_list.dtype
          )
          self.assertAllEqual(self.evaluate(t), [[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 12 for calling the ListTest obj's underlying member method code with example usage: obj.test_pop_tensor_list() without return types