Skip to content

Commit 2f015b7

Browse files
committed
strip out xlsx code, tests and samples
1 parent d470bc9 commit 2f015b7

20 files changed

+5
-1082
lines changed

tests/apachepoi_49609.xlsx

-103 KB
Binary file not shown.

tests/apachepoi_52348.xlsx

-5.17 KB
Binary file not shown.

tests/err_cell_empty.xlsx

-125 KB
Binary file not shown.

tests/issue150.xlsx

-96.7 KB
Binary file not shown.

tests/merged_cells.xlsx

-9.06 KB
Binary file not shown.

tests/reveng1.xlsx

-16.3 KB
Binary file not shown.
-7.11 KB
Binary file not shown.
-4.71 KB
Binary file not shown.

tests/test_alt_sharedstrings_loc.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

tests/test_cell.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -48,26 +48,3 @@ def test_merged_cells(self):
4848
row_lo, row_hi, col_lo, col_hi = sheet3.merged_cells[0]
4949
self.assertEqual(sheet3.cell(row_lo, col_lo).value, 'MERGED')
5050
self.assertEqual((row_lo, row_hi, col_lo, col_hi), (3, 7, 2, 5))
51-
52-
def test_merged_cells_xlsx(self):
53-
book = xlrd.open_workbook(from_this_dir('merged_cells.xlsx'))
54-
55-
sheet1 = book.sheet_by_name('Sheet1')
56-
expected = []
57-
got = sheet1.merged_cells
58-
self.assertEqual(expected, got)
59-
60-
sheet2 = book.sheet_by_name('Sheet2')
61-
expected = [(0, 1, 0, 2)]
62-
got = sheet2.merged_cells
63-
self.assertEqual(expected, got)
64-
65-
sheet3 = book.sheet_by_name('Sheet3')
66-
expected = [(0, 1, 0, 2), (0, 1, 2, 4), (1, 4, 0, 2), (1, 9, 2, 4)]
67-
got = sheet3.merged_cells
68-
self.assertEqual(expected, got)
69-
70-
sheet4 = book.sheet_by_name('Sheet4')
71-
expected = [(0, 1, 0, 2), (2, 20, 0, 1), (1, 6, 2, 5)]
72-
got = sheet4.merged_cells
73-
self.assertEqual(expected, got)

0 commit comments

Comments
 (0)