Commit 7bfd18d
authored
* fix: explicit PYTHONPATH for isolated test subprocesses (#593)
* fix: respect existing PYTHONPATH in subprocess tests
Put existing PYTHONPATH first, then append repo_root as fallback.
This is less invasive to user environments while still ensuring
the local package is available when needed.
1 parent 7e12a12 commit 7bfd18d
2 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
501 | 513 | | |
502 | 514 | | |
503 | 515 | | |
504 | 516 | | |
505 | 517 | | |
506 | 518 | | |
| 519 | + | |
507 | 520 | | |
508 | 521 | | |
509 | 522 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
254 | 259 | | |
255 | 260 | | |
256 | 261 | | |
| |||
0 commit comments