fix(lint): explicit encoding on write_text in livetest harness (PLW1514)

This commit is contained in:
teknium1 authored and Teknium committed 2026-07-26 08:26:09 -07:00
1 parent e869accc1a
commit a2c42be93c
1 file changed
+1 -1
+1 -1
View File
@@ -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