From 48b47d250cfcea0f7676fbc19d1ffd7fbbb77f8e Mon Sep 17 00:00:00 2001 From: Ed_ Date: Mon, 15 Jun 2026 20:04:35 -0400 Subject: [PATCH] oops --- scripts/run_tests_batched.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run_tests_batched.py b/scripts/run_tests_batched.py index 9bf6da0a..8db7cc80 100644 --- a/scripts/run_tests_batched.py +++ b/scripts/run_tests_batched.py @@ -120,8 +120,8 @@ def _format_pytest_line(line: str) -> str | None: if stripped.startswith(("PASSED", "FAILED", "ERROR")) and "::" in stripped: status = stripped.split()[0] res = stripped[len(status):] - if status == "PASSED": return _c(f"{status}{rest}", _C.GREEN) - return _c(f"{status}{rest}", _C.BOLD_RED) + if status == "PASSED": return _c(f"{status}{res}", _C.GREEN) + return _c(f"{status}{res}", _C.BOLD_RED) if stripped.startswith(("passed", "failed", "error")) and " in " in stripped and stripped.endswith("s"): return _c(stripped, _C.BOLD) return stripped