Representing a closed node as a string.
(self)
| 1208 | self.assertEqual(srcTable.chunkshape, newTable2.chunkshape) |
| 1209 | |
| 1210 | def test18_closedRepr(self): |
| 1211 | """Representing a closed node as a string.""" |
| 1212 | |
| 1213 | self._reopen(node_cache_slots=self.node_cache_slots) |
| 1214 | |
| 1215 | for node in [self.h5file.root.agroup, self.h5file.root.anarray]: |
| 1216 | node._f_close() |
| 1217 | self.assertIn("closed", str(node)) |
| 1218 | self.assertIn("closed", repr(node)) |
| 1219 | |
| 1220 | def test19_fileno(self): |
| 1221 | """Checking that the 'fileno()' method works.""" |