Commit 59b52df
committed
Fix Windows path compatibility in absolute path tests
The tests were comparing string representations of Path objects, which
fails on Windows where Path('/tmp/file.json') becomes 'D:\tmp\file.json'.
Changed assertions to compare Path objects directly, which works
cross-platform by normalizing paths internally.
Fixes:
- test_get_local_state_path_env_absolute
- test_get_upstream_cache_path_env_absolute1 parent 016c537 commit 59b52df
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments