Repository navigation
Commit 54dadc3
committed
fix(tests): session_queue ~/state test sets USERPROFILE next to HOME (#692, class 5)
Run 38008915302 (windows-latest, Suite) failed
test_root_and_job_paths_preserve_intake_context[~/state] in
tests_py/hooks/test_session_queue.py. The test set HOME only; on Windows
Path.expanduser reads USERPROFILE (ntpath, Python >= 3.8) and falls back
to HOMEDRIVE+HOMEPATH, so "~/state" resolved under the runner's profile,
not tmp_path. Test defect, not a product one: session_queue.queue_root
expands "~" the platform's way.
Refs #692
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018kyZYsqjqvVrsjKfbTBS2U1 parent 8b22316 commit 54dadc3
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
| 210 | + | |
208 | 211 | | |
209 | 212 | | |
210 | 213 | | |
| |||
0 commit comments