Create new test runner.
(self, section, options)
| 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() |