Method
__init__
(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 | |
| 336 | class IPDocTestParser(doctest.DocTestParser): |
Callers
nothing calls this directly
Tested by
no test coverage detected