Show More
@@ -45,10 +45,12 b' class ZMQHistoryManager(HistoryAccessorBase):' | |||
|
45 | 45 | Load the history over ZMQ from the kernel. Wraps the history |
|
46 | 46 | messaging with loop to wait to get history results. |
|
47 | 47 | """ |
|
48 | history = [] | |
|
49 | if hasattr(self.client, "history"): | |
|
50 | ## In tests, KernelClient may not have a history method | |
|
48 | 51 |
msg_id = self.client.history(raw=raw, output=output, |
|
49 | 52 |
hist_access_type=hist_access_type, |
|
50 | 53 | **kwargs) |
|
51 | history = [] | |
|
52 | 54 | while True: |
|
53 | 55 | try: |
|
54 | 56 | reply = self.client.get_shell_msg(timeout=1) |
General Comments 0
You need to be logged in to leave comments.
Login now