Preserve isolated Python tools in the DOCX lint test
ci / vet-and-test (pull_request) Successful in 36s
ci / vet-and-test (pull_request) Successful in 36s
Why: The test replaced PYTHONPATH with the house-style source path, hiding the fixed Python wheels installed inside the candidate sandbox. Evidence: Isolated Backend TestLintErrorContinues replay passed with locked wheel acquisition and no host site-packages; SELF receipt /tmp/dependency-task3-backend-lint-probe-20261014-01a1345f.json. Impact: Test environment composition only; production runtime behavior is unchanged. Refs: Backend PR #196; Dev PR #537; Documents plan 5099e12
This commit is contained in:
@@ -100,6 +100,9 @@ func TestLintErrorContinues(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if existing := os.Getenv("PYTHONPATH"); existing != "" {
|
||||
abs += string(os.PathListSeparator) + existing
|
||||
}
|
||||
t.Setenv("PYTHONPATH", abs)
|
||||
docx := badDocx(t)
|
||||
turns := padTurns(
|
||||
|
||||
Reference in New Issue
Block a user