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

Method __init__

IPython/testing/iptest.py:331–337  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

329class SubprocessStreamCapturePlugin(Plugin):
330 name='subprocstreams'
331 def __init__(self):
332 Plugin.__init__(self)
333 self.stream_capturer = StreamCapturer()
334 self.destination = os.environ.get('IPTEST_SUBPROC_STREAMS', 'capture')
335 # This is ugly, but distant parts of the test machinery need to be able
336 # to redirect streams, so we make the object globally accessible.
337 nose.iptest_stdstreams_fileno = self.get_write_fileno
338
339 def get_write_fileno(self):
340 if self.destination == 'capture':

Callers

nothing calls this directly

Calls 2

StreamCapturerClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected