Checking removing Leaves from an existing file.
(self)
| 353 | self.h5file.root.agroup2 |
| 354 | |
| 355 | def test06b_removeLeaf(self): |
| 356 | """Checking removing Leaves from an existing file.""" |
| 357 | |
| 358 | self._reopen(mode="r+", node_cache_slots=self.node_cache_slots) |
| 359 | self.h5file.remove_node(self.h5file.root, "anarray") |
| 360 | |
| 361 | # Open this file in read-only mode |
| 362 | self._reopen(node_cache_slots=self.node_cache_slots) |
| 363 | |
| 364 | # Try to get the removed object |
| 365 | with self.assertRaises(LookupError): |
| 366 | self.h5file.root.anarray |
| 367 | |
| 368 | def test06c_removeLeaf(self): |
| 369 | """Checking removing Leaves and access it immediately.""" |
nothing calls this directly
no test coverage detected