You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tests): make dividend TTM dates date-relative to fix CI (#2204) (#2206)
Test fixtures had hardcoded dividend dates that fell outside the 365-day
TTM window once the system date crossed 2026-08-12, causing CI failure
`AssertionError: 3 != 4` in ttm_event_count assertions.
Compute dates relative to datetime.now() so all 4 events always fall
within the 365-day window regardless of when the test runs.
Also removed a hardcoded ex_dividend_date assertion that would fail for
the same date-drift reason.
Refs: #2204
Co-authored-by: xxiaoxiong <xxiaoxiong@nicholasxiong.cn>
0 commit comments