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

Method __init__

IPython/testing/iptestcontroller.py:118–125  ·  view source on GitHub ↗

Create new test runner.

(self, section, options)

Source from the content-addressed store, hash-verified

116 pycmd = None
117
118 def __init__(self, section, options):
119 """Create new test runner."""
120 TestController.__init__(self)
121 self.section = section
122 # pycmd is put into cmd[2] in PyTestController.launch()
123 self.cmd = [sys.executable, '-c', None, section]
124 self.pycmd = "from IPython.testing.iptest import run_iptest; run_iptest()"
125 self.options = options
126
127 def setup(self):
128 ipydir = TemporaryDirectory()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected