Checking removing Tables from an existing file.
(self)
| 385 | self.h5file.remove_node(self.h5file.root, "nonexistent") |
| 386 | |
| 387 | def test06e_removeTable(self): |
| 388 | """Checking removing Tables from an existing file.""" |
| 389 | |
| 390 | self._reopen(mode="r+", node_cache_slots=self.node_cache_slots) |
| 391 | self.h5file.remove_node(self.h5file.root, "atable") |
| 392 | |
| 393 | # Open this file in read-only mode |
| 394 | self._reopen(node_cache_slots=self.node_cache_slots) |
| 395 | |
| 396 | # Try to get the removed object |
| 397 | with self.assertRaises(LookupError): |
| 398 | self.h5file.root.atable |
| 399 | |
| 400 | def test07_renameLeaf(self): |
| 401 | """Checking renaming a leave and access it after a close/open.""" |
nothing calls this directly
no test coverage detected