Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Dec 17, 2024
1 parent 32253f8 commit c4bf3b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def thread_target():
msg = kc.get_iopub_msg(timeout=interval * 2)
if msg["msg_type"] != "stream":
continue
print(f"{thread_msg_id=}")
print(f"{msg=}")
content = msg["content"]
assert content["name"] == "stdout"
assert content["text"] == str(received)
Expand Down Expand Up @@ -119,6 +121,8 @@ def parent_target():
msg = kc.get_iopub_msg(timeout=interval * 2)
if msg["msg_type"] != "stream":
continue
print(f"{thread_msg_id=}")
print(f"{msg=}")
content = msg["content"]
assert content["name"] == "stdout"
assert content["text"] == str(received)
Expand Down Expand Up @@ -151,6 +155,8 @@ async def async_task():
msg = kc.get_iopub_msg(timeout=interval * 2)
if msg["msg_type"] != "stream":
continue
print(f"{thread_msg_id=}")
print(f"{msg=}")
content = msg["content"]
assert content["name"] == "stdout"
assert content["text"] == str(received)
Expand Down

0 comments on commit c4bf3b7

Please sign in to comment.