MCPcopy Create free account
hub / github.com/ipython/ipython / configure

Method configure

IPython/testing/plugin/ipdoctest.py:748–761  ·  view source on GitHub ↗
(self, options, config)

Source from the content-addressed store, hash-verified

746 parser.set_defaults(ipdoctest_extension=tolist(env_setting))
747
748 def configure(self, options, config):
749 #print "Configuring nose plugin:", self.name # dbg
750 Plugin.configure(self, options, config)
751 # Pull standard doctest plugin out of config; we will do doctesting
752 config.plugins.plugins = [p for p in config.plugins.plugins
753 if p.name != 'doctest']
754 self.doctest_tests = options.ipdoctest_tests
755 self.extension = tolist(options.ipdoctest_extension)
756
757 self.parser = IPDocTestParser()
758 self.finder = DocTestFinder(parser=self.parser)
759 self.checker = IPDoctestOutputChecker()
760 self.globs = None
761 self.extraglobs = None

Callers 1

configureMethod · 0.45

Calls 3

IPDocTestParserClass · 0.85
DocTestFinderClass · 0.85

Tested by

no test coverage detected