From 871c6d56dcaf3ee4870f87db72bd2a5d8106a57a Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 25 Mar 2025 11:01:21 -1000 Subject: [PATCH] refactor: Move windows_path variable outside test cases tuple --- tests/basic/test_coder.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/basic/test_coder.py b/tests/basic/test_coder.py index 6eb0148b0..38dfcc478 100644 --- a/tests/basic/test_coder.py +++ b/tests/basic/test_coder.py @@ -325,8 +325,6 @@ class TestCoder(unittest.TestCase): # {test_files[1]}, # ), # Files with Windows-style paths - # Pre-format the Windows path to avoid backslash issues in f-string expressions - windows_path = test_files[2].replace('/', '\\') (f"Edit the file {windows_path}", {test_files[2]}), # Files with different quote styles (f'Check "{test_files[5]}" now', {test_files[5]}),