code: def _do_test(self, expected_example_tuples, string):
      parser = fenced_doctest_lib.FencedCellParser(fence_label="python")
  
      example_tuples = []
      for example in parser.get_examples(
          string, name=self._testMethodName
      ):
          source = example.source.rstrip("\n")
          want = example.want
          if want is not None:
              want = want.rstrip("\n")
          example_tuples.append((source, want))
  
      self.assertEqual(expected_example_tuples, example_tuples)
  
file_path: tensorflow-upstream/tensorflow/tools/docs/fenced_doctest_test.py
imports: from typing import List, Optional, Tuple
  from absl.testing import absltest
  from absl.testing import parameterized
  from tensorflow.tools.docs import fenced_doctest_lib
label_desc: Use image node_id 1 for calling the G3DoctestTest obj's underlying member method code with example usage: obj._do_test(expected_example_tuples, string) without return types