From 862cd76f893c5db076f340b38dfe59cd78bc1731 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Wed, 26 Jun 2024 15:49:34 +0200 Subject: [PATCH] Add explanatory comment in tests/patch_time.py (#120572) --- tests/patch_time.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/patch_time.py b/tests/patch_time.py index c8052b3b8ac..a93d3c8ec4f 100644 --- a/tests/patch_time.py +++ b/tests/patch_time.py @@ -25,4 +25,5 @@ dt_util.utcnow = _utcnow # type: ignore[assignment] event_helper.time_tracker_utcnow = _utcnow # type: ignore[assignment] util.utcnow = _utcnow # type: ignore[assignment] +# Replace bound methods which are not found by freezegun runner.monotonic = _monotonic # type: ignore[assignment]