Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename remnant of version_request/reply protocol

  • Loading branch information...
commit 834bea198c7efd7dc1e294629ce56b1189e4c322 1 parent af50f03
@tkf authored
View
4 IPython/zmq/kernelmanager.py
@@ -363,8 +363,8 @@ def history(self, raw=True, output=False, hist_access_type='range', **kwargs):
self._queue_send(msg)
return msg['header']['msg_id']
- def version(self):
- """Request kernel version info."""
+ def kernel_info(self):
+ """Request kernel info."""
msg = self.session.msg('kernel_info_request')
self._queue_send(msg)
return msg['header']['msg_id']
View
2  IPython/zmq/tests/test_message_spec.py
@@ -460,7 +460,7 @@ def test_kernel_info_request():
shell = KM.shell_channel
- msg_id = shell.version()
+ msg_id = shell.kernel_info()
reply = shell.get_msg(timeout=2)
for tst in validate_message(reply, 'kernel_info_reply', msg_id):
yield tst
Please sign in to comment.
Something went wrong with that request. Please try again.