diff --git a/tests/test_kernel.py b/tests/test_kernel.py index 8efc3dcc..2b379eb8 100644 --- a/tests/test_kernel.py +++ b/tests/test_kernel.py @@ -106,7 +106,9 @@ def child_target(): def parent_target(): sleep({interval}) - Thread(target=child_target).start() + thread = Thread(target=child_target) + thread.start() + thread.join() Thread(target=parent_target).start() """