Commit 37f4039
committed
Handle multiprocessing start methods besides fork
Since Python 3.14 'forkserver' 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 37f4039
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