def METHOD_NAME(self):
    """Wait for a kernel to be ready, and store kernel info"""
    timeout = self.kernel_timeout
    tic = time.time()
    self.kernel_client.hb_channel.unpause()
    msg_id = self.kernel_client.kernel_info()
    while True:
        try:
            reply = self.kernel_client.get_shell_msg(timeout=1)
        except queue.Empty:
            if (time.time() - tic) > timeout:
                raise RuntimeError("Kernel didn't respond to kernel_info_request")
        else:
            if reply['parent_header'].get('msg_id') == msg_id:
                self.kernel_info = reply['content']
                return