Checking moving a leaf to an existing name.
(self)
| 632 | self.assertEqual(array_.attrs.TITLE, "hello") |
| 633 | |
| 634 | def test10d_moveToExistingLeaf(self): |
| 635 | """Checking moving a leaf to an existing name.""" |
| 636 | |
| 637 | self._reopen(mode="r+", node_cache_slots=self.node_cache_slots) |
| 638 | |
| 639 | # Try to get the previous object with the old name |
| 640 | with self.assertRaises(tb.NodeError): |
| 641 | self.h5file.move_node( |
| 642 | self.h5file.root.anarray, self.h5file.root, "array" |
| 643 | ) |
| 644 | |
| 645 | def test10_2_moveTable(self): |
| 646 | """Checking moving a table and access it after a close/open.""" |