class_docstr: Nose Plugin that supports doctests in extension modules.
      
code: def loadTestsFromModule(self, module):
      # print '*** ipdoctest - lTM',module  # dbg
  
      if not self.matches(module.__name__):
          log.debug("Doctest doesn't want module %s", module)
          return
  
      tests = self.finder.find(
          module, globs=self.globs, extraglobs=self.extraglobs
      )
      if not tests:
          return
  
      # always use whitespace and ellipsis options
      optionflags = doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS
  
      tests.sort()
      module_file = module.__file__
      if module_file[-4:] in (".pyc", ".pyo"):
          module_file = module_file[:-1]
      for test in tests:
          if not test.examples:
              continue
          if not test.filename:
              test.filename = module_file
  
          yield DocTestCase(
              test, optionflags=optionflags, checker=self.checker
          )
  
imports: import doctest
  import inspect
  import logging
  import os
  import re
  import sys
  from testpath import modified_env
  from inspect import getmodule
  from doctest import REPORTING_FLAGS, REPORT_ONLY_FIRST_FAILURE, _unittest_reportflags, DocTestRunner, _extract_future_flags, pdb, _OutputRedirectingPdb, _exception_traceback, linecache
  from nose.plugins import doctests, Plugin
  from nose.util import anyp, tolist
  from IPython.utils.py3compat import builtin_mod, PY3, getcwd
label_desc: Use image node_id 4 for calling the ExtensionDoctest obj's underlying member method code with example usage: obj.loadTestsFromModule(module) without return types