Skip to content

Fix flaky parse date tests - #17

Merged
pedroangelini merged 1 commit into
mainfrom
fix/flaky-parse-date-tests
Sep 9, 2026
Merged

pedroangelini merged 1 commit into
mainfrom
fix/flaky-parse-date-tests

Conversation

@pedroangelini

Copy link
Copy Markdown
Owner

Summary

  • make parse_date tests deterministic by freezing the clock
  • compute expected values during test execution instead of collection

Validation

  • uv run pytest test_utils.py
  • uv run pytest (3 consecutive runs)

Fixes #16

Compute expected values under the same frozen clock as parse_date.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pedroangelini
pedroangelini merged commit 1ca0e5b into main Sep 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix flaky parse_date tests caused by collection-time clock snapshot

1 participant