mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Fixing last few things with the test suite for kernel managers.
This commit is contained in:
parent
deb05ec4a2
commit
0fb34356a3
@ -79,6 +79,11 @@ class MultiKernelManager(LoggingConfigurable):
|
|||||||
|
|
||||||
The caller can pick a kernel_id by passing one in as a keyword arg,
|
The caller can pick a kernel_id by passing one in as a keyword arg,
|
||||||
otherwise one will be picked using a uuid.
|
otherwise one will be picked using a uuid.
|
||||||
|
|
||||||
|
To silence the kernel's stdout/stderr, call this using::
|
||||||
|
|
||||||
|
km.start_kernel(stdout=PIPE, stderr=PIPE)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
kernel_id = kwargs.pop('kernel_id', unicode(uuid.uuid4()))
|
kernel_id = kwargs.pop('kernel_id', unicode(uuid.uuid4()))
|
||||||
if kernel_id in self:
|
if kernel_id in self:
|
||||||
|
Loading…
Reference in New Issue
Block a user