MCPcopy Create free account
hub / github.com/PyTables/PyTables / test13b_copyGroup

Method test13b_copyGroup

tables/tests/test_basics.py:879–890  ·  view source on GitHub ↗

Copying a group.

(self)

Source from the content-addressed store, hash-verified

877 self.assertIs(new_node, dstNode)
878
879 def test13b_copyGroup(self):
880 """Copying a group."""
881
882 self._reopen(mode="r+", node_cache_slots=self.node_cache_slots)
883
884 # agroup2 => agroup/
885 new_node = self.h5file.copy_node(
886 self.h5file.root.agroup2, self.h5file.root.agroup
887 )
888 dstNode = self.h5file.root.agroup.agroup2
889
890 self.assertIs(new_node, dstNode)
891
892 def test13c_copyGroupSelf(self):
893 """Copying a group into itself."""

Callers

nothing calls this directly

Calls 2

copy_nodeMethod · 0.80
_reopenMethod · 0.45

Tested by

no test coverage detected