class_docstr: Nose Plugin that supports doctests in extension modules.
      
docstr: Look for doctests in the given object, which will be a
  function, method or class.
docstr_tok: ["Look","for","doctests","in","the","given","object",",","which","will","be","a","function",",","method","or","class","."]
code: def makeTest(self, obj, parent):
      """Look for doctests in the given object, which will be a
      function, method or class.
      """
      # print 'Plugin analyzing:', obj, parent  # dbg
      # always use whitespace and ellipsis options
      optionflags = doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS
  
      doctests = self.finder.find(obj, module=getmodule(parent))
      if doctests:
          for test in doctests:
              if len(test.examples) == 0:
                  continue
  
              yield DocTestCase(
                  test,
                  obj=obj,
                  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 1 for calling the IPythonDoctest obj's underlying member method code with example usage: obj.makeTest(obj, parent) without return types