mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
fix: Read expected_map_file
with utf8 encoding
This commit is contained in:
parent
69106200ff
commit
2d5b481205
1 changed files with 2 additions and 2 deletions
|
@ -453,8 +453,8 @@ class TestRepoMapAllLanguages(unittest.TestCase):
|
|||
# Generate the repo map
|
||||
generated_map_str = repo_map.get_repo_map([], other_files).strip()
|
||||
|
||||
# Read the expected map from the file
|
||||
with open(expected_map_file, "r") as f:
|
||||
# Read the expected map from the file using UTF-8 encoding
|
||||
with open(expected_map_file, "r", encoding="utf-8") as f:
|
||||
expected_map = f.read().strip()
|
||||
|
||||
# Compare the generated map with the expected map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue