Commit 0f1bbae
committed
Handle the 'spawn' multiprocessing start method
Since Python 3.14 'spawn' is now the default multiprocessing start
method instead of 'fork', and with this spawn method we need to pass the
`multiprocessing.Event` that we're sharing between the pytest process
and the monitoring process along explicitly, rather than counting on
a `fork()` to share the same object between the two processes.1 parent ed32d75 commit 0f1bbae
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments