code: def testDoctest(self):
      num_failed, num_attempted = doctest.testmod(
          custom_getter, extraglobs={"snt": base}
      )
      self.assertGreater(num_attempted, 0, "No doctests found.")
      self.assertEqual(
          num_failed, 0, "{} doctests failed".format(num_failed)
      )
  
file_path: sonnet/sonnet/src/custom_getter_test.py
imports: import doctest
  from sonnet.src import base
  from sonnet.src import custom_getter
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 1 for calling the DoctestTest obj's underlying member method code with example usage: obj.testDoctest() without return types