mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Ignore PermissionError when testing too
This commit is contained in:
parent
d720bfe459
commit
2e232b1d20
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class IgnorantTemporaryDirectory:
|
||||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||||
try:
|
try:
|
||||||
self.temp_dir.__exit__(exc_type, exc_val, exc_tb)
|
self.temp_dir.__exit__(exc_type, exc_val, exc_tb)
|
||||||
except OSError:
|
except (OSError, PermissionError):
|
||||||
pass # Ignore errors (Windows)
|
pass # Ignore errors (Windows)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue