testing._count_leaves
(internal) Classify each leaf in a child-report list as passed / hard-failed / tolerated. A failing leaf is tolerated iff some enclosing testset's runner passed (tolerated_by_parent flows down). Replaces the Rust extract_leaf_summary.
Reference version
Signature
function testing._count_leaves(
results: testing.ChildReport[],
tolerated_by_parent: bool
) -> testing._LeafCounts
(internal) Classify each leaf in a child-report list as passed / hard-failed / tolerated. A failing leaf is tolerated iff some enclosing testset's runner passed (tolerated_by_parent flows down). Replaces the Rust extract_leaf_summary.
Source:<builtin>/testing/registry.bamlbytes 35630–37287