(self, request)
| 477 | ] |
| 478 | ) |
| 479 | def split_fixture(self, request): |
| 480 | tbl_cxml, origin_tc_idx, range_tc_idxs = request.param |
| 481 | tcs = element(tbl_cxml).xpath("//a:tc") |
| 482 | origin_tc = tcs[origin_tc_idx] |
| 483 | range_tcs = tuple(tcs[idx] for idx in range_tc_idxs) |
| 484 | return origin_tc, range_tcs |
| 485 | |
| 486 | @pytest.fixture(params=[("a:tc", 1), ("a:tc{rowSpan=2}", 1), ("a:tc{gridSpan=24}", 24)]) |
| 487 | def width_fixture(self, request): |