Fixing last few things with the test suite for kernel managers.

This commit is contained in:
Brian E. Granger 2013-01-16 21:12:09 -08:00
parent deb05ec4a2
commit 0fb34356a3

View File

@ -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: