We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58b448b commit 5d459feCopy full SHA for 5d459fe
tests/test_zmq_shell.py
@@ -22,6 +22,11 @@
22
ZMQInteractiveShell,
23
)
24
25
+try:
26
+ from IPython.core.history import HistoryOutput
27
+except ImportError:
28
+ HistoryOutput = None # type: ignore[assignment,misc]
29
+
30
31
class NoReturnDisplayHook:
32
"""
@@ -209,6 +214,7 @@ def test_unregister_hook(self):
209
214
second = self.disp_pub.unregister_hook(hook)
210
215
assert not bool(second)
211
216
217
+ @unittest.skipIf(HistoryOutput is None, "HistoryOutput not available")
212
218
def test_display_stored_in_history(self):
213
219
220
Test that published display data gets stored in shell history
0 commit comments