docstr: Test for make_list_of_t.
docstr_tok: ["Test","for","make_list_of_t","."]
code: def test_make_list_of_t(self):
      """Test for make_list_of_t."""
      g0 = ops_lib.Graph()
      with g0.as_default():
          a0 = constant_op.constant(1)
          b0 = constant_op.constant(2)
          c0 = math_ops.add(a0, b0)  # pylint: disable=unused-variable
      # Should extract the tensors from the graph.
      self.assertEqual(len(op_selector.make_list_of_t(g0)), 3)
      # Should extract the tensors from the tuple
      self.assertEqual(len(op_selector.make_list_of_t((a0, b0))), 2)
      # Should extract the tensors and ignore the ops.
      self.assertEqual(
          len(
              op_selector.make_list_of_t(
                  (a0, a0.op, b0), ignore_ops=True
              )
          ),
          2,
      )
  
file_path: tensorflow/tensorflow/python/ops/op_selector_test.py
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import func_graph
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import op_selector
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the SelectTest obj's underlying member method code with example usage: obj.test_make_list_of_t() without return types