code: def testOnlySource(self):
      ds = dataset_ops.Dataset.range(10)
      variant_tensor_ops = traverse.obtain_all_variant_tensor_ops(ds)
      self.assertAllEqual(
          ["RangeDataset"], [x.name for x in variant_tensor_ops]
      )
  
imports: from absl.testing import parameterized
  from tensorflow.python.compat import compat
  from tensorflow.python.data.experimental.ops import data_service_ops
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.util import traverse
  from tensorflow.python.framework import combinations
  from tensorflow.python.ops import gen_dataset_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the TraverseTest obj's underlying member method code with example usage: obj.testOnlySource() without return types