mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
fix: Remove unnecessary code for writing generated repo map to file
This commit is contained in:
parent
f5d4cbfb2e
commit
12e406e711
1 changed files with 0 additions and 11 deletions
|
@ -448,17 +448,6 @@ class TestRepoMapAllLanguages(unittest.TestCase):
|
|||
# Generate the repo map
|
||||
generated_map = repo_map.get_repo_map([], other_files)
|
||||
|
||||
# Convert the generated map to a string representation
|
||||
generated_map_str = "\n".join(f"{k}: {v}" for k, v in sorted(generated_map.items()))
|
||||
|
||||
# Write the generated map to the file
|
||||
with open(expected_map_file, "w") as f:
|
||||
f.write(generated_map_str)
|
||||
|
||||
# Clean up
|
||||
del repo_map
|
||||
|
||||
self.fail("Written generated map to file. Please review and update the test.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue