From 0af5563e7778d3c76bef014b06e7c78287edbbd9 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 8 May 2025 14:44:07 -0700 Subject: [PATCH] style: Fix F841 unused variable in tests --- tests/basic/test_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index cc6cd4222..d187ee521 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -2107,7 +2107,7 @@ class TestCommands(TestCase): ) def test_reset_after_coder_clone_preserves_original_read_only_files(self): - with GitTemporaryDirectory() as repo_dir_path: + with GitTemporaryDirectory() as _: repo_dir = str(".") io = InputOutput(pretty=False, fancy_input=False, yes=True) @@ -2156,7 +2156,7 @@ class TestCommands(TestCase): self.assertEqual(len(new_coder.cur_messages), 0) def test_drop_bare_after_coder_clone_preserves_original_read_only_files(self): - with GitTemporaryDirectory() as repo_dir_path: + with GitTemporaryDirectory() as _: repo_dir = str(".") io = InputOutput(pretty=False, fancy_input=False, yes=True)