Skip to content

Regression tests: Handle no packages gracefully#15933

Merged
srittau merged 5 commits into
python:mainfrom
srittau:regr-no-packages
Jun 23, 2026
Merged

Regression tests: Handle no packages gracefully#15933
srittau merged 5 commits into
python:mainfrom
srittau:regr-no-packages

Conversation

@srittau

@srittau srittau commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Before, when running regression tests for a certain version/platform combination that doesn't have any cases, mypy is run with invalid arguments (no files), and the tests fail.

Now, a message is printed instead (unless the verbosity is QUIET) and the tests succeed.

Before, when running regression tests for a certain version/platform
combination that doesn't have any cases, mypy is run with invalid
arguments (no files), and the tests fail.

Now, a message is printed instead (unless the verbosity is `QUIET`) and
the tests succeed.
@srittau

srittau commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

Test failures are only semi-related, but this PR is actually a prerequisite to fixing them in #15932.

Comment thread tests/regr_test.py
Comment thread tests/regr_test.py Outdated
@srittau srittau merged commit 52d0fc4 into python:main Jun 23, 2026
58 of 59 checks passed
@srittau srittau deleted the regr-no-packages branch June 23, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants