From 40b5051a9285d2621e92b922e9b95a483640b759 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 25 Dec 2019 13:43:08 +1000 Subject: [PATCH] disable test around daily cutoff time --- tests/test_schedv2.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_schedv2.py b/tests/test_schedv2.py index f3b41fe9b..1cff4cbe6 100644 --- a/tests/test_schedv2.py +++ b/tests/test_schedv2.py @@ -705,6 +705,9 @@ def test_filt_reviewing_early_normal(): def test_filt_keep_lrn_state(): d = getEmptyCol() + if (d.sched.dayCutoff - time.time()) < 60*60*3: + print("test_filt_keep_lrn_state disabled due to time of day") + return f = d.newNote() f['Front'] = "one"