Commit c43d203
Avoid loose-object mapping in Windows regression test
The Python 3.7 Windows package check passed the custom object-directory assertions but failed while TemporaryDirectory removed the loose object, because GitDB's info lookup left the file mapped during cleanup.
Use GitDB's existing has_object lookup to verify Python ODB discovery without opening the loose object. The git cat-file assertion continues to validate the payload and preserved subprocess environment.
Validation: focused pytest; Ruff check and format; mypy; compileall; git diff --check.1 parent c270a04 commit c43d203
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
0 commit comments