Commit d49d301
committed
fix: improve cross-platform test robustness for kill_proc_tree
- Use signal number 9 instead of signal.SIGKILL (unavailable on Windows)
- Properly save/restore dynamically added os.killpg and signal.SIGKILL
with try/finally cleanup to prevent test pollution1 parent e25c4dc commit d49d301
1 file changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1620 | 1620 | | |
1621 | 1621 | | |
1622 | 1622 | | |
1623 | | - | |
| 1623 | + | |
1624 | 1624 | | |
1625 | 1625 | | |
1626 | 1626 | | |
| |||
2464 | 2464 | | |
2465 | 2465 | | |
2466 | 2466 | | |
2467 | | - | |
2468 | | - | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
2469 | 2470 | | |
2470 | | - | |
2471 | | - | |
2472 | | - | |
| 2471 | + | |
| 2472 | + | |
2473 | 2473 | | |
2474 | 2474 | | |
2475 | 2475 | | |
2476 | 2476 | | |
2477 | 2477 | | |
2478 | | - | |
2479 | 2478 | | |
2480 | 2479 | | |
2481 | | - | |
2482 | | - | |
2483 | | - | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
2484 | 2484 | | |
2485 | 2485 | | |
2486 | 2486 | | |
| |||
0 commit comments