Skip to content

Commit

Permalink
DBG: run kill_process_tree with the default spawn context
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Apr 13, 2023
1 parent 5ed104a commit 563e4ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_loky_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ def _run_nested_delayed(depth, delay, event):
@pytest.mark.parametrize("use_psutil", [True, False])
def test_kill_process_tree(use_psutil):
psutil = pytest.importorskip("psutil")
# DEBUG: try with the regular spawn context
ctx_loky = get_context("spawn")
event = ctx_loky.Event()
p = ctx_loky.Process(target=_run_nested_delayed, args=(4, 1000, event))
p.start()
Expand Down

0 comments on commit 563e4ff

Please sign in to comment.