From aabae55407705aa96f04b89bd0b893c18be78cf4 Mon Sep 17 00:00:00 2001 From: Delan Azabani Date: Fri, 20 Oct 2023 15:20:19 +0800 Subject: [PATCH] Fix filtered test counts in WPT summaries (#30591) --- python/wpt/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/wpt/run.py b/python/wpt/run.py index 486f4ce744e..90410133fe6 100644 --- a/python/wpt/run.py +++ b/python/wpt/run.py @@ -289,7 +289,7 @@ def filter_intermittents( def add_result(output, text, results: List[UnexpectedResult], filter_func) -> None: filtered = [str(result) for result in filter(filter_func, results)] if filtered: - output += [f"{text} ({len(results)}): ", *filtered] + output += [f"{text} ({len(filtered)}): ", *filtered] def is_stable_and_unexpected(result): return not result.flaky and not result.issues