mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4564] [TUI] DeepSeek start_env test: assert on the library variable the code writes #5090
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#5090
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/4564
Author: @Nyarlathoteppppp
Created: 10/29/2026
Status: 🔄 Open
Base:
main← Head:fix/4531-dsv41-libpath-test📝 Commits (2)
f026a03Tests: the DeepSeek start_env test reads the library variable the code writes (LD_LIBRARY_PATH off Windows) (#4531)cc60922Merge remote-tracking branch 'origin/main' into fix/4531-dsv41-libpath-test📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
tests/terminal/test_dsv41_engine.py(+5 -1)📄 Description
Problem and result
HipPackageLibraryPath.test_rocm_bin_comes_after_the_package_folderreadsenv["PATH"], butdsv41_engine.start_envwrites the package library folder toLIB_VAR, which isPATHonly on Windows andLD_LIBRARY_PATHelsewhere (as its docstring says). So the test fails on Linux and macOS while the code is right.After the change the test asserts on
env[dsv41_engine.LIB_VAR]and passes on macOS; it also checks that the input environment is not mutated and, off Windows, thatPATHis left alone.Related discussion
Fixes #4531. Test-only change.
Approach
Assert on the variable the code actually writes on this platform, keeping the test's intent (package folder before the ROCm bin folder). No production code change, no skip.
Validation
Passed:
python -m pytest tests/terminal/test_dsv41_engine.py: 19 passed. On46c152a: 1 failed (this test), 18 passed.46c152a.Failed:
none observed.
Not run:
Windows (where
LIB_VARisPATH, so the assertion is the same as before), Linux.Limits
none known.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.