Skip to content

Commit 0423ced

Browse files
committed
add-sleep
1 parent faa3464 commit 0423ced

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_magic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,10 +952,12 @@ def test_notebook_export_json_with_output():
952952

953953
for cmd in commands:
954954
_ip.run_cell(cmd, store_history=True, silent=False)
955+
print(f"\n{_ip.history_manager.outputs}\n")
955956

956957
with TemporaryDirectory() as td:
957958
outfile = os.path.join(td, "nb.ipynb")
958959
_ip.run_cell(f"%notebook {outfile}", store_history=True)
960+
sleep(2)
959961
actual_nb = nbformat.read(outfile, as_version=4)
960962

961963
assert len(actual_nb["cells"]) == len(commands)

0 commit comments

Comments
 (0)