Fix new PermissionError in Windows with Python 3.7 · gitpython-developers/GitPython@90cf4d7 · GitHub
Skip to content

Commit 90cf4d7

Browse files
committed
Fix new PermissionError in Windows with Python 3.7
In Python 3.7, tempfile.TemporaryDirectory doesn't delete files on cleanup whose permissions have to be changed to be deleted. This uses `@with_rw_directory` instead, though that may be overkill here.
1 parent dd42e38 commit 90cf4d7

1 file changed

Lines changed: 29 additions & 31 deletions

File tree

test/test_tree.py

Lines changed: 29 additions & 31 deletions

0 commit comments

Comments
 (0)