Commit fdc59f3
fix(gh-151626): handle frozen os.path on Windows in test_aliased_target
On Windows, os.path resolves to ntpath which is a frozen module
(origin='frozen', cached=None). Calling cache_from_source('frozen')
fabricates a nonsensical path that mismatches the subprocess output of
None. Guard the cache_from_source call on cached being non-None.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e20d6a2 commit fdc59f3
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6660 | 6660 | | |
6661 | 6661 | | |
6662 | 6662 | | |
6663 | | - | |
6664 | | - | |
6665 | | - | |
| 6663 | + | |
| 6664 | + | |
| 6665 | + | |
| 6666 | + | |
| 6667 | + | |
| 6668 | + | |
| 6669 | + | |
6666 | 6670 | | |
6667 | 6671 | | |
6668 | 6672 | | |
| |||
0 commit comments