Show More
@@ -165,6 +165,16 b' class PyTestController(TestController):' | |||
|
165 | 165 | ipydir = TemporaryDirectory() |
|
166 | 166 | self.dirs.append(ipydir) |
|
167 | 167 | self.env['IPYTHONDIR'] = ipydir.name |
|
168 | # FIXME: install IPython kernel in temporary IPython dir | |
|
169 | # remove after big split | |
|
170 | try: | |
|
171 | from jupyter_client.kernelspec import KernelSpecManager | |
|
172 | except ImportError: | |
|
173 | pass | |
|
174 | else: | |
|
175 | ksm = KernelSpecManager(ipython_dir=ipydir.name) | |
|
176 | ksm.install_native_kernel_spec(user=True) | |
|
177 | ||
|
168 | 178 | self.workingdir = workingdir = TemporaryDirectory() |
|
169 | 179 | self.dirs.append(workingdir) |
|
170 | 180 | self.env['IPTEST_WORKING_DIR'] = workingdir.name |
General Comments 0
You need to be logged in to leave comments.
Login now