Skip to content

Move several command line tests to check tests#20646

Merged
hauntsaninja merged 2 commits into
python:masterfrom
hauntsaninja:cmdl
Jan 26, 2026
Merged

Move several command line tests to check tests#20646
hauntsaninja merged 2 commits into
python:masterfrom
hauntsaninja:cmdl

Conversation

@hauntsaninja

Copy link
Copy Markdown
Collaborator

Authored by Codex

@JukkaL JukkaL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for refactoring the tests! This should up running tests a bit. Looks good overall, just one optional comment that appears to be a pre-existing potential issue.

g(None) # E: Argument 1 to "g" has incompatible type "None"; expected "list[Any]"
[file mypy.ini]
\[mypy]
allow_any_generics = True

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if strict optional should also be disabled here, since there is a strict_optional = True below, and when this test was added, it's possible that strict optional was disabled by default.

Comment thread test-data/unit/check-flags.test
@hauntsaninja
hauntsaninja merged commit 299e6d0 into python:master Jan 26, 2026
16 checks passed
@hauntsaninja
hauntsaninja deleted the cmdl branch January 26, 2026 20:50
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