From 39146cb240975b6cf51ece8ee0a3faee787d773f Mon Sep 17 00:00:00 2001 From: Harsh Singh <143034341+singhharsh1708@users.noreply.github.com> Date: Sun, 13 Sep 2026 03:00:51 +0530 Subject: [PATCH] test_runner: collect parameterized_class tests instead of skipping them with their base (#38820) --- tools/test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test_runner.py b/tools/test_runner.py index 1979ce01e4..2121907e33 100755 --- a/tools/test_runner.py +++ b/tools/test_runner.py @@ -170,7 +170,7 @@ def collect(targets, keyword): cls = type(test) if cls.__name__ == "_FailedTest": continue - if getattr(cls, "__unittest_skip_why__", "") == "parameterized base class": + if cls.__dict__.get("__unittest_skip_why__", "") == "parameterized base class": continue if not keyword or keyword.lower() in test.id().lower(): tests.append(test)