Skip to content

Commit 9f82d32

Browse files
davidbrochartianthomas23
authored andcommitted
Fix test_print_to_correct_cell_from_child_thread (#1312)
1 parent c775910 commit 9f82d32

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)