diff --git a/pylib/tests/test_schedv2.py b/pylib/tests/test_schedv2.py index 7b81b9b38..5f40ce781 100644 --- a/pylib/tests/test_schedv2.py +++ b/pylib/tests/test_schedv2.py @@ -283,7 +283,6 @@ def test_learn_day(): col.sched.answerCard(c, 3) # two reps to graduate, 1 more today assert c.left % 1000 == 3 - assert c.left // 1000 == 1 assert col.sched.counts() == (0, 1, 0) c = col.sched.getCard() ni = col.sched.nextIvl diff --git a/pylib/tests/test_undo.py b/pylib/tests/test_undo.py index b1d6a8b79..eae507fec 100644 --- a/pylib/tests/test_undo.py +++ b/pylib/tests/test_undo.py @@ -57,7 +57,7 @@ def test_review(): c = col.sched.getCard() assert c.queue == QUEUE_TYPE_NEW col.sched.answerCard(c, 3) - assert c.left == 1001 + assert c.left % 1000 == 1 assert col.sched.counts() == (0, 1, 0) assert c.queue == QUEUE_TYPE_LRN # undo @@ -67,7 +67,7 @@ def test_review(): assert col.sched.counts() == (1, 0, 0) c.load() assert c.queue == QUEUE_TYPE_NEW - assert c.left != 1001 + assert c.left % 1000 != 1 assert not col.undoName() # we should be able to undo multiple answers too note = col.newNote()