From c4bf3b7f75ad6cdebe8c8ed5c0a544895638b612 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Tue, 17 Dec 2024 16:40:37 +0100 Subject: [PATCH] - --- tests/test_kernel.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_kernel.py b/tests/test_kernel.py index 428d8750..aea2408d 100644 --- a/tests/test_kernel.py +++ b/tests/test_kernel.py @@ -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) @@ -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) @@ -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)