Checking renaming a Group under a nested group.
(self)
| 445 | self.assertEqual(array_.attrs.TITLE, "hello") |
| 446 | |
| 447 | def test07d_renameLeaf(self): |
| 448 | """Checking renaming a Group under a nested group.""" |
| 449 | |
| 450 | self._reopen(mode="r+", node_cache_slots=self.node_cache_slots) |
| 451 | self.h5file.rename_node(self.h5file.root.agroup.anarray2, "anarray3") |
| 452 | |
| 453 | # Ensure that we can access n attributes in the new group |
| 454 | node = self.h5file.root.agroup.anarray3 |
| 455 | self.assertEqual(node._v_title, "Array title 2") |
| 456 | |
| 457 | def test08_renameToExistingLeaf(self): |
| 458 | """Checking renaming a node to an existing name.""" |
nothing calls this directly
no test coverage detected