(self)
| 4277 | class TruncateTestCase(common.TempFileMixin, common.PyTablesTestCase): |
| 4278 | |
| 4279 | def setUp(self): |
| 4280 | super().setUp() |
| 4281 | |
| 4282 | # Create an VLArray |
| 4283 | arr = tb.Int16Atom(dflt=3) |
| 4284 | array1 = self.h5file.create_vlarray( |
| 4285 | self.h5file.root, "array1", arr, "title array1" |
| 4286 | ) |
| 4287 | |
| 4288 | # Add a couple of rows |
| 4289 | array1.append(np.array([456, 2], dtype="int16")) |
| 4290 | array1.append(np.array([3], dtype="int16")) |
| 4291 | |
| 4292 | def test00_truncate(self): |
| 4293 | """Checking VLArray.truncate() method (truncating to 0 rows)""" |
nothing calls this directly
no test coverage detected