Skip to content

Commit 6f2bc84

Browse files
Fix test_print_to_correct_cell_from_child_thread (#1312)
1 parent b11d42c commit 6f2bc84

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_kernel.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ def child_target():
106106
107107
def parent_target():
108108
sleep({interval})
109-
Thread(target=child_target).start()
109+
thread = Thread(target=child_target)
110+
thread.start()
111+
thread.join()
110112
111113
Thread(target=parent_target).start()
112114
"""

0 commit comments

Comments
 (0)