mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Remove unused variable temp_dir
in test_sonnet_and_cache_options
This commit is contained in:
parent
34dc7cc37d
commit
a42de792ba
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ class TestMain(TestCase):
|
|||
self.assertEqual(coder.main_model.info["max_input_tokens"], 1234)
|
||||
|
||||
def test_sonnet_and_cache_options(self):
|
||||
with GitTemporaryDirectory() as temp_dir:
|
||||
with GitTemporaryDirectory():
|
||||
with patch("aider.coders.base_coder.RepoMap") as MockRepoMap:
|
||||
mock_repo_map = MagicMock()
|
||||
mock_repo_map.max_map_tokens = 1000 # Set a specific value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue