From 389d99e67e78de6e33f1bb51ccd205aa8f4a23d6 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Tue, 2 Jun 2026 07:51:37 +0800 Subject: [PATCH] auto-sync: 2026-06-02 07:51:37 --- tests/test_four_phase_unit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_four_phase_unit.py b/tests/test_four_phase_unit.py index bba6fb8..9da7b70 100644 --- a/tests/test_four_phase_unit.py +++ b/tests/test_four_phase_unit.py @@ -211,6 +211,8 @@ class TestU3RoundComplete: mock_spawner.api_port = 8083 ticker = Ticker(registry=ProjectRegistry(Path("/tmp/fake")), spawner=mock_spawner, dispatcher=MagicMock()) + # mock _build_review_prompt(f-string 在 Python 3.9 有兼容性问题) + ticker._build_review_prompt = MagicMock(return_value="Review prompt mock") async def run(): result = await ticker._check_round_complete(db_path, pid)