diff --git a/tests/data_platform/test_static_vintage_check.py b/tests/data_platform/test_static_vintage_check.py index 37c9b20..660956c 100644 --- a/tests/data_platform/test_static_vintage_check.py +++ b/tests/data_platform/test_static_vintage_check.py @@ -185,7 +185,9 @@ class TestPanelGapCheck: def test_snapshot_family_hole_alerts_as_permanent(self, tmp_path): """快照族 (无回补能力) 近窗洞 → 告警说『洞即永久/查日志』而非回补指引。""" _mk_ok_statements(tmp_path) - hole = _recent_weekdays(2)[-1] + # 取最近 1 个工作日(非第 2 近): 周一跑时第 2 近=周四, 4 日历日>service + # 3 日新鲜窗 → 永不告警(2026-09-07 周一 CI 实锤);最近工作日恒 ≤3 日 ✓ + hole = _recent_weekdays(1)[-1] dates = _recent_weekdays(6, drop_dates=(hole,)) d = tmp_path / "fund_flow_industry" d.mkdir(parents=True)