Skip to content

Commit 662bf7f

Browse files
committed
🐛 fix python 3 unit test failure
1 parent 3ec21dd commit 662bf7f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test_merged_cells.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ def test_merged_cell_class():
3434
test_dict = {}
3535
merged_cell = MergedCell(1, 4, 1, 4)
3636
merged_cell.register_cells(test_dict)
37-
keys = list(test_dict.keys())
38-
expected = ['2-2', '2-3', '2-1', '1-1',
39-
'1-3', '1-2', '3-3', '3-2',
40-
'3-1']
37+
keys = sorted(list(test_dict.keys()))
38+
expected = ['1-1', '1-2', '1-3', '2-1',
39+
'2-2', '2-3', '3-1', '3-2', '3-3']
4140
eq_(keys, expected)
4241
eq_(merged_cell, test_dict['3-1'])

0 commit comments

Comments
 (0)