diff --git a/pylib/tests/test_schedv1.py b/pylib/tests/test_schedv1.py index 0e52b92c5..322eeadf3 100644 --- a/pylib/tests/test_schedv1.py +++ b/pylib/tests/test_schedv1.py @@ -149,12 +149,12 @@ def test_learn(): # it should have three reps left to graduation assert c.left % 1000 == 3 assert c.left // 1000 == 3 - # it should by due in 30 seconds + # it should be due in 30 seconds t = round(c.due - time.time()) assert t >= 25 and t <= 40 # pass it once col.sched.answerCard(c, 2) - # it should by due in 3 minutes + # it should be due in 3 minutes assert round(c.due - time.time()) in (179, 180) assert c.left % 1000 == 2 assert c.left // 1000 == 2 @@ -165,7 +165,7 @@ def test_learn(): assert log[5] == -30 # pass again col.sched.answerCard(c, 2) - # it should by due in 10 minutes + # it should be due in 10 minutes assert round(c.due - time.time()) in (599, 600) assert c.left % 1000 == 1 assert c.left // 1000 == 1 diff --git a/pylib/tests/test_schedv2.py b/pylib/tests/test_schedv2.py index a32da9ec0..7fee6ab7e 100644 --- a/pylib/tests/test_schedv2.py +++ b/pylib/tests/test_schedv2.py @@ -150,12 +150,12 @@ def test_learn(): # it should have three reps left to graduation assert c.left % 1000 == 3 assert c.left // 1000 == 3 - # it should by due in 30 seconds + # it should be due in 30 seconds t = round(c.due - time.time()) assert t >= 25 and t <= 40 # pass it once col.sched.answerCard(c, 3) - # it should by due in 3 minutes + # it should be due in 3 minutes dueIn = c.due - time.time() assert 178 <= dueIn <= 180 * 1.25 assert c.left % 1000 == 2 @@ -167,7 +167,7 @@ def test_learn(): assert log[5] == -30 # pass again col.sched.answerCard(c, 3) - # it should by due in 10 minutes + # it should be due in 10 minutes dueIn = c.due - time.time() assert 599 <= dueIn <= 600 * 1.25 assert c.left % 1000 == 1