class_docstr: Nose Plugin that supports doctests in extension modules.
      
code: def loadTestsFromExtensionModule(self, filename):
      bpath, mod = os.path.split(filename)
      modname = os.path.splitext(mod)[0]
      try:
          sys.path.append(bpath)
          module = __import__(modname)
          tests = list(self.loadTestsFromModule(module))
      finally:
          sys.path.pop()
      return tests
  
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 3 for calling the ExtensionDoctest obj's underlying member method code with example usage: obj.loadTestsFromExtensionModule(filename) and returns: tests