On 13/05/2024 17:02, Juraj Linkeš wrote:
      def _filter_test_cases(
          self, test_suite_class: type[TestSuite], test_cases_to_run: 
Sequence[str]
-    ) -> tuple[list[MethodType], list[MethodType]]:
+    ) -> tuple[list[FunctionType], list[FunctionType]]:

Does changing inspect.getmembers(test_suite_class, inspect.isfunction)
to use inspect.ismethod not work?

Nope, for some reason when running inspect.ismethod on the TestSuite class methods it returns False... I didn't investigate further, as just isfunction works and it's not a deal breaker.

Reply via email to