(self)
| 2550 | nanumber = 1000 * 3 # That should account for more than 2**31-1 |
| 2551 | |
| 2552 | def setUp(self): |
| 2553 | super().setUp() |
| 2554 | |
| 2555 | # Create an EArray |
| 2556 | array = self.h5file.create_earray( |
| 2557 | self.h5file.root, |
| 2558 | "array", |
| 2559 | atom=tb.Int8Atom(), |
| 2560 | shape=(0,), |
| 2561 | filters=tb.Filters(complib="lzo", complevel=1), |
| 2562 | # Specifying expectedrows takes more |
| 2563 | # CPU, but less disk |
| 2564 | expectedrows=self.narows * self.nanumber, |
| 2565 | ) |
| 2566 | |
| 2567 | # Fill the array |
| 2568 | na = np.arange(self.narows, dtype="int8") |
| 2569 | for i in range(self.nanumber): |
| 2570 | array.append(na) |
| 2571 | |
| 2572 | def test01_basiccheck(self): |
| 2573 | """Some basic checks for earrays exceeding 2**31 rows""" |
nothing calls this directly
no test coverage detected