Skip to content

gh-163032: Skip modules that fail to import in regrtest --list-cases - #163033

Open
fedonman wants to merge 1 commit into
python:mainfrom
fedonman:fix-regrtest-list-cases-import-error
Open

fedonman wants to merge 1 commit into
python:mainfrom
fedonman:fix-regrtest-list-cases-import-error

Conversation

@fedonman

@fedonman fedonman commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

list_cases() printed the whole-module fallback that collect_cases() returns for a module that fails to import. It now walks the loaded suites with _list_cases() again, as 3.15 did, and collect_cases() keeps the fallback for --single-process-per-case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant