fix unit test on python 3.6

This commit is contained in:
Damien Elmes 2017-02-27 14:29:23 +10:00
parent c2f7b48a29
commit ef5ed0ebf3

View file

@ -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