class_docstr: Class whose instances act as a decorator for docstring testing.
  
  In practice we're only likely to need one instance ever, made below (though
  no attempt is made at turning it into a singleton, there is no need for
  that).
class_docstr_tok: ["Class","whose","instances","act","as","a","decorator","for","docstring","testing",".","In","practice","we","'re","only","likely","to","need","one","instance","ever",",","made","below","(","though","no","attempt","is","made","at","turning","it","into","a","singleton",",","there","is","no","need","for","that",")","."]
docstr: New decorator.
  
  Parameters
  ----------
  
  verbose : boolean, optional (False)
    Passed to the doctest finder and runner to control verbosity.
docstr_tok: ["New","decorator",".","Parameters","--","--","--","--","--","verbose",":","boolean",",","optional","(","False",")","Passed","to","the","doctest","finder","and","runner","to","control","verbosity","."]
code: def __init__(self, verbose=False):
      """New decorator.
  
      Parameters
      ----------
  
      verbose : boolean, optional (False)
        Passed to the doctest finder and runner to control verbosity.
      """
      self.verbose = verbose
      # We can reuse the same finder for all instances
      self.finder = DocTestFinder(verbose=verbose, recurse=False)
  
file_path: catboost/contrib/python/ipython/py2/IPython/testing/ipunittest.py
imports: from __future__ import absolute_import
  import re
  import unittest
  from doctest import DocTestFinder, DocTestRunner, TestResults
label_desc: Use image node_id 1 to create a new Doc2UnitTester object from inherited base classes: object with example: obj = Doc2UnitTester(verbose)