style: Fix F841 unused variable in tests

This commit is contained in:
Paul Gauthier (aider) 2025-05-08 14:44:07 -07:00
parent c147571b18
commit 0af5563e77

View file

@ -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)