Skip to content

Commit 14b0a72

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 141bf07 commit 14b0a72

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_tree_store.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,8 +1180,10 @@ def test_ctable_traversal_hides_internals(tmp_path, storage_type):
11801180
# walk
11811181
walked = list(ts.walk("/"))
11821182
all_nodes = [n for _, _, nodes in walked for n in nodes]
1183+
all_dirs = [d for _, dirs, _ in walked for d in dirs]
11831184
assert "table" in all_nodes
1184-
assert not any(n.startswith("_") for root, _, _ in walked for n in _)
1185+
assert not any(name.startswith("_") for name in all_dirs)
1186+
assert not any(name.startswith("_") for name in all_nodes)
11851187

11861188

11871189
@pytest.mark.parametrize("storage_type", ["b2d", "b2z"])

0 commit comments

Comments
 (0)