Skip to content

Commit

Permalink
🐛 fix python 3 unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Dec 8, 2017
1 parent 3ec21dd commit 662bf7f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_merged_cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ def test_merged_cell_class():
test_dict = {}
merged_cell = MergedCell(1, 4, 1, 4)
merged_cell.register_cells(test_dict)
keys = list(test_dict.keys())
expected = ['2-2', '2-3', '2-1', '1-1',
'1-3', '1-2', '3-3', '3-2',
'3-1']
keys = sorted(list(test_dict.keys()))
expected = ['1-1', '1-2', '1-3', '2-1',
'2-2', '2-3', '3-1', '3-2', '3-3']
eq_(keys, expected)
eq_(merged_cell, test_dict['3-1'])

0 comments on commit 662bf7f

Please sign in to comment.