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
Introduce a TimeMachine utility for tests providing freeze/unfreeze/advance/rewind/set_time and time() inspection, with context-manager support. Also add MonkeyPatchedTimeMachine which temporarily replaces time.time while in a context and restores it on exit. Convenience helpers freeze_time and advance_time are included to create common frozen TimeMachine instances. This allows deterministic time manipulation in tests.
0 commit comments