From a249b6a40df818ba1cb557c8191d34e5fa72f597 Mon Sep 17 00:00:00 2001 From: ryan-crabbe-berri Date: Fri, 30 Oct 2026 19:04:05 -0700 Subject: [PATCH] test(e2e): type the Codex self-test event helper as a Mapping --- tests/e2e_harness/codex/test_codex_run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e_harness/codex/test_codex_run.py b/tests/e2e_harness/codex/test_codex_run.py index 4777c132735..415967da114 100644 --- a/tests/e2e_harness/codex/test_codex_run.py +++ b/tests/e2e_harness/codex/test_codex_run.py @@ -4,6 +4,7 @@ import configparser import json import re import shlex +from collections.abc import Mapping from pathlib import Path from typing import Final @@ -27,7 +28,7 @@ ROUND_TRIP: Final = "\n".join( ) -def _line(event: dict[str, object]) -> str: +def _line(event: Mapping[str, object]) -> str: return json.dumps(event)