(self)
| 98 | return shape |
| 99 | |
| 100 | def test00_attributes(self): |
| 101 | if self.reopen: |
| 102 | self.h5file = tb.open_file(self.h5fname, "r") |
| 103 | obj = self.h5file.get_node("/carray1") |
| 104 | |
| 105 | shape = self._get_shape() |
| 106 | |
| 107 | self.assertEqual(obj.flavor, self.flavor) |
| 108 | self.assertEqual(obj.shape, shape) |
| 109 | self.assertEqual(obj.ndim, len(shape)) |
| 110 | self.assertEqual(obj.chunkshape, self.chunkshape) |
| 111 | self.assertEqual(obj.nrows, shape[0]) |
| 112 | self.assertEqual(obj.atom.type, self.type) |
| 113 | |
| 114 | def test01_readCArray(self): |
| 115 | """Checking read() of chunked layout arrays.""" |
nothing calls this directly
no test coverage detected