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

Method __init__

IPython/testing/plugin/ipdoctest.py:327–333  ·  view source on GitHub ↗
(self, source, want, exc_msg=None, lineno=0, indent=0,
                 options=None)

Source from the content-addressed store, hash-verified

325 """Doctest examples to be run in an external process."""
326
327 def __init__(self, source, want, exc_msg=None, lineno=0, indent=0,
328 options=None):
329 # Parent constructor
330 doctest.Example.__init__(self,source,want,exc_msg,lineno,indent,options)
331
332 # An EXTRA newline is needed to prevent pexpect hangs
333 self.source += '\n'
334
335
336class IPDocTestParser(doctest.DocTestParser):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected