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

Method test02_walkGroups

tables/tests/test_tree.py:1069–1078  ·  view source on GitHub ↗

Hidden group absence in `File.walk_groups()`.

(self)

Source from the content-addressed store, hash-verified

1067 h5f.get_node(hpath)
1068
1069 def test02_walkGroups(self):
1070 """Hidden group absence in `File.walk_groups()`."""
1071
1072 hidden = self.hidden
1073
1074 for group in self.h5file.walk_groups("/"):
1075 pathname = group._v_pathname
1076 self.assertNotIn(
1077 pathname, hidden, f"Walked across hidden group ``{pathname}``."
1078 )
1079
1080 def test03_walkNodes(self):
1081 """Hidden node absence in `File.walk_nodes()`."""

Callers

nothing calls this directly

Calls 1

walk_groupsMethod · 0.80

Tested by

no test coverage detected