mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix unit test on python 3.6
This commit is contained in:
parent
c2f7b48a29
commit
ef5ed0ebf3
1 changed files with 2 additions and 0 deletions
|
@ -643,7 +643,9 @@ def test_cram():
|
|||
c.load()
|
||||
assert d.sched.answerButtons(c) == 4
|
||||
# add a sibling so we can test minSpace, etc
|
||||
c.col = None
|
||||
c2 = copy.deepcopy(c)
|
||||
c2.col = c.col = d
|
||||
c2.id = 123
|
||||
c2.ord = 1
|
||||
c2.due = 325
|
||||
|
|
Loading…
Reference in a new issue