From 5bf36002ecc3fe00eead7b635afb95d800a1bbb1 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 12 Aug 2024 11:18:15 -0700 Subject: [PATCH] Try and use a normalized dirname to avoid windows test issues in CI --- aider/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/utils.py b/aider/utils.py index 980a2548b..b36ceee33 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -16,6 +16,7 @@ IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff", ".webp"} class IgnorantTemporaryDirectory: def __init__(self): self.temp_dir = tempfile.TemporaryDirectory() + self.temp_dir = str(Path(self.temp_dir).resolve()) def __enter__(self): return self.temp_dir.__enter__()