From 7ca41d1336b91f7ff94e3997058a7f20b75fb9d2 2013-10-29 16:15:56 From: Thomas Kluyver Date: 2013-10-29 16:15:56 Subject: [PATCH] Fix kernel.inprocess tests --- diff --git a/IPython/kernel/inprocess/socket.py b/IPython/kernel/inprocess/socket.py index d654e52..7e0664e 100644 --- a/IPython/kernel/inprocess/socket.py +++ b/IPython/kernel/inprocess/socket.py @@ -58,7 +58,7 @@ class DummySocket(HasTraits): return self.queue.get_nowait() def send_multipart(self, msg_parts, flags=0, copy=True, track=False): - msg_parts = map(zmq.Message, msg_parts) + msg_parts = list(map(zmq.Message, msg_parts)) self.queue.put_nowait(msg_parts) self.message_sent += 1