Commit 5bc6fa2
Close custom object stream in regression test
The Python package test (windows, 3.7) check failed during TemporaryDirectory cleanup because the GitDB regression left its loose-object mmap open, producing WinError 5 while deleting the object file.
Close the object stream explicitly and use Repo's context manager so Windows releases both resources before temporary-directory cleanup.
Validation: focused regression test; Ruff check and format; mypy; compileall; git diff --check.1 parent 5b6ea0f commit 5bc6fa2
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
253 | 258 | | |
254 | 259 | | |
255 | 260 | | |
| |||
0 commit comments