(self)
| 2484 | icol = tb.IntCol(pos=2) |
| 2485 | |
| 2486 | def setUp(self): |
| 2487 | super().setUp() |
| 2488 | |
| 2489 | table = self.h5file.create_table("/", "table", self.MyDescription) |
| 2490 | row = table.row |
| 2491 | nrows = self.nrows |
| 2492 | for i in range(nrows): |
| 2493 | row["rcol"] = i |
| 2494 | row["icol"] = nrows - i |
| 2495 | row.append() |
| 2496 | table.flush() |
| 2497 | self.table = table |
| 2498 | self.icol = self.table.cols.icol |
| 2499 | # A full index with maximum optlevel should always be completely sorted |
| 2500 | self.icol.create_index( |
| 2501 | optlevel=self.optlevel, kind="full", _blocksizes=small_blocksizes |
| 2502 | ) |
| 2503 | |
| 2504 | def test01_readSorted1(self): |
| 2505 | """Testing the Table.read_sorted() method with no arguments.""" |
nothing calls this directly
no test coverage detected