You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Windows-safe cleanup for object-directory test
The replacement Python 3.7 Windows run confirmed that every test assertion passes, but tempfile.TemporaryDirectory cannot remove the read-only loose object produced by Git and reports WinError 5.
Use the test suite's existing with_rw_directory helper, which collects lingering references and removes read-only files correctly on Windows.
Validation: focused pytest; Ruff check and format; mypy; compileall; git diff --check.
0 commit comments