testing._flatten_with_tolerated

(internal) Flatten a run_all()/run_selected() TestSetReport into the CLI flat report. Aggregate outcome is preserved (honoring testset runners); counts split hard vs tolerated failures; failed_names are the report's (hard) failed names; and failure messages are gathered from every failing run.

Reference version

Signature

function testing._flatten_with_tolerated(
selected_names: string[]

(internal) Flatten a run_all()/run_selected() TestSetReport into the CLI flat report. Aggregate outcome is preserved (honoring testset runners); counts split hard vs tolerated failures; failed_names are the report's (hard) failed names; and failure messages are gathered from every failing run.

Source:<builtin>/testing/registry.bamlbytes 3760040281