Commit e3d7f66
committed
test: clean up read-only submodule object files on Windows
The Windows Python 3.15 CI job failed to set up twelve missing-submodule
cases because `shutil.rmtree()` cannot remove read-only loose Git objects.
The fixture deliberately removes retained metadata to model an absent
submodule, so use the existing `git.util.rmtree()` helper, which clears
read-only attributes when retrying Windows deletions.
All twelve affected cases pass locally, along with Ruff lint and format
checks. Production behavior and test coverage are unchanged.1 parent a1a84ae commit e3d7f66
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments