mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-23 16:36:23 +00:00
fix(lint): explicit encoding on write_text in livetest harness (PLW1514)
This commit is contained in:
parent
3ee3394907
commit
4ddb443c12
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ def run_one(scenario: Dict[str, Any], mode: str, rep: int, out_dir: Path) -> Dic
|
|||
n_registered = base.register_fake_tools()
|
||||
|
||||
Path("/tmp/livetest").mkdir(exist_ok=True)
|
||||
(Path("/tmp/livetest/notes.txt")).write_text("Hello from the test fixture.\n")
|
||||
(Path("/tmp/livetest/notes.txt")).write_text("Hello from the test fixture.\n", encoding="utf-8")
|
||||
|
||||
from tools.registry import registry
|
||||
original_dispatch = registry.dispatch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue