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

Method test13a_copyLeaf

tables/tests/test_basics.py:866–877  ·  view source on GitHub ↗

Copying a leaf.

(self)

Source from the content-addressed store, hash-verified

864 )
865
866 def test13a_copyLeaf(self):
867 """Copying a leaf."""
868
869 self._reopen(mode="r+", node_cache_slots=self.node_cache_slots)
870
871 # array => agroup2/
872 new_node = self.h5file.copy_node(
873 self.h5file.root.array, self.h5file.root.agroup2
874 )
875 dstNode = self.h5file.root.agroup2.array
876
877 self.assertIs(new_node, dstNode)
878
879 def test13b_copyGroup(self):
880 """Copying a group."""

Callers

nothing calls this directly

Calls 2

copy_nodeMethod · 0.80
_reopenMethod · 0.45

Tested by

no test coverage detected