(
executables: Iterable[ExecutableSpec | str] | None,
)
| 418 | |
| 419 | |
| 420 | def _normalize_executable_specs( |
| 421 | executables: Iterable[ExecutableSpec | str] | None, |
| 422 | ) -> tuple[ExecutableSpec, ...]: |
| 423 | if executables is None: |
| 424 | return DEFAULT_EXECUTABLE_SPECS |
| 425 | |
| 426 | normalized: list[ExecutableSpec] = [] |
| 427 | for item in executables: |
| 428 | if isinstance(item, ExecutableSpec): |
| 429 | normalized.append(item) |
| 430 | else: |
| 431 | normalized.append(ExecutableSpec(str(item))) |
| 432 | return tuple(normalized) |
| 433 | |
| 434 | |
| 435 | def collect_executable_summary( |
no test coverage detected