FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use --warn-unreachable and --strict-equality in more tests by hauntsaninja · Pull Request #20707 · python/mypy · GitHub

Repository navigation

Use --warn-unreachable and --strict-equality in more tests - #20707

Merged
hauntsaninja merged 2 commits into
python:masterfrom
hauntsaninja:narrowtest
Jan 31, 2026
Merged

hauntsaninja merged 2 commits into
python:masterfrom
hauntsaninja:narrowtest

Conversation

hauntsaninja commented Jan 31, 2026 •
edited
Loading

Copy link
Copy Markdown
Collaborator

Make sure most tests in check-narrowing have both of these
Make sure most tests in check-isinstance have warn unreachable
Add to several tests in check-python310

hauntsaninja merged commit 5f3e6ec into python:master Jan 31, 2026
16 checks passed
hauntsaninja deleted the narrowtest branch January 31, 2026 02:18
hauntsaninja added a commit that referenced this pull request Feb 3, 2026
Less trivial follow up to #20707

Several of the skipped match tests now pass or have better behaviour, so
unskipping them

The two new tests I added both do not have great behaviour, mostly
predating my rewrite. I improve these in
#20660 but that PR is a little tricky
to land, so I'm separating it out. This way it is easier for reviewers
to evaluate what the changes are.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL