code: def test_class(self):
      visitor = TestVisitor()
      traverse.traverse(TestVisitor, visitor)
      self.assertEqual(TestVisitor, visitor.call_log[0][1])
      # There are a bunch of other members, but make sure that the ones we know
      # about are there.
      self.assertIn(
          "__init__", [name for name, _ in visitor.call_log[0][2]]
      )
      self.assertIn(
          "__call__", [name for name, _ in visitor.call_log[0][2]]
      )
  
file_path: tensorflow/tensorflow/tools/common/traverse_test.py
imports: from tensorflow.python.platform import googletest
  from tensorflow.tools.common import test_module1
  from tensorflow.tools.common import test_module2
  from tensorflow.tools.common import traverse
label_desc: Use image node_id 3 for calling the TraverseTest obj's underlying member method code with example usage: obj.test_class() without return types