Copying a group into itself.
(self)
| 890 | self.assertIs(new_node, dstNode) |
| 891 | |
| 892 | def test13c_copyGroupSelf(self): |
| 893 | """Copying a group into itself.""" |
| 894 | |
| 895 | self._reopen(mode="r+", node_cache_slots=self.node_cache_slots) |
| 896 | |
| 897 | # agroup2 => agroup2/ |
| 898 | new_node = self.h5file.copy_node( |
| 899 | self.h5file.root.agroup2, self.h5file.root.agroup2 |
| 900 | ) |
| 901 | dstNode = self.h5file.root.agroup2.agroup2 |
| 902 | |
| 903 | self.assertIs(new_node, dstNode) |
| 904 | |
| 905 | def test13d_copyGroupRecursive(self): |
| 906 | """Recursively copying a group.""" |