The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop-update): read the console self-test report as UTF-16
ethernete39ba502db8f
diff --git a/tests/scripts/desktop_update/test_desktop_update_windows_cwd.py b/tests/scripts/desktop_update/test_desktop_update_windows_cwd.pyindex 388f2ee491f..74abde20129 100644--- a/tests/scripts/desktop_update/test_desktop_update_windows_cwd.py+++ b/tests/scripts/desktop_update/test_desktop_update_windows_cwd.py@@ -91,7 +91,8 @@ def test_handoff_children_cannot_read_the_handoff_console(tmp_path: Path) -> Noncheck=False,)- report = output.read_text(encoding="utf-8", errors="replace") if output.exists() else ""+ # Windows PowerShell 5.1 `*>` writes UTF-16LE with a BOM.+ report = output.read_text(encoding="utf-16", errors="replace") if output.exists() else ""assert result.returncode == 0, reportassert "WORKING-DIRECTORY SELF-TEST: PASS" in report