Commit 06698c4
committed
test: fix test_main under Python 3.14
Python 3.14 switched multiprocessing to use the "forkserver" start
method. This means the forked subprocess don't inherit the parent
process' memory and the monkeypatched functions (via the `run_taskgraph`
fixture) were no longer applied.
This works around the issue by actually creating bad parameter files to
avoid monkeypatching.1 parent 683b236 commit 06698c4
1 file changed
+14
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
| |||
0 commit comments