Permalink
Browse files

Rename remnant of version_request/reply protocol

  • Loading branch information...
1 parent af50f03 commit 834bea198c7efd7dc1e294629ce56b1189e4c322 @tkf committed Dec 18, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 IPython/zmq/kernelmanager.py
  2. +1 −1 IPython/zmq/tests/test_message_spec.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']
@@ -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

0 comments on commit 834bea1

Please sign in to comment.