class_docstr: Nose Plugin that supports doctests in extension modules.
      
code: def configure(self, options, config):
      Plugin.configure(self, options, config)
      # Pull standard doctest plugin out of config; we will do doctesting
      config.plugins.plugins = [
          p for p in config.plugins.plugins if p.name != "doctest"
      ]
      self.doctest_tests = options.doctest_tests
      self.extension = tolist(options.doctestExtension)
  
      self.parser = doctest.DocTestParser()
      self.finder = DocTestFinder()
      self.checker = IPDoctestOutputChecker()
      self.globs = None
      self.extraglobs = None
  
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 2 for calling the ExtensionDoctest obj's underlying member method code with example usage: obj.configure(options, config) without return types