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

More testing related improvements and updates by hauntsaninja · Pull Request #20709 · python/mypy · GitHub

Repository navigation

More testing related improvements and updates - #20709

Merged
hauntsaninja merged 2 commits into
python:masterfrom
hauntsaninja:moretest
Feb 3, 2026
Merged

hauntsaninja merged 2 commits into
python:masterfrom
hauntsaninja:moretest

Conversation

hauntsaninja commented Jan 31, 2026 •
edited
Loading

Copy link
Copy Markdown
Collaborator

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.

hauntsaninja mentioned this pull request Jan 31, 2026

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can you add comments to test cases where the behavior is still not ideal?

Copy link
Copy Markdown
Collaborator Author

Added test comments, but even better is I have the fixes in #20660 so you will be able to see the correct diff soon :-)

hauntsaninja merged commit e8af2ac into python:master Feb 3, 2026
16 checks passed
hauntsaninja deleted the moretest branch February 3, 2026 05:19
hauntsaninja added a commit to hauntsaninja/mypy that referenced this pull request Feb 3, 2026
I added tests for this change in python#20709 so it's easier to see the diff.
Like a few others, this was factored out of python#20660 to make that one
easier to land.
The change in bytes narrowing is also desirable (but unfortunately
only applies with --no-strict-bytes). We can figure out something else
for that case
hauntsaninja added a commit to hauntsaninja/mypy that referenced this pull request Feb 3, 2026
I added tests for this change in python#20709 so it's easier to see the diff.
Like a few others, this was factored out of python#20660 to make that one
easier to land.
The change in bytes narrowing is also desirable (but unfortunately
only applies with --no-strict-bytes). We can figure out something else
for that case
hauntsaninja added a commit to hauntsaninja/mypy that referenced this pull request Feb 6, 2026
I added tests for this change in python#20709 so it's easier to see the diff.
Like a few others, this was factored out of python#20660 to make that one
easier to land.
The change in bytes narrowing is also desirable (but unfortunately
only applies with --no-strict-bytes). We can figure out something else
for that case
hauntsaninja added a commit that referenced this pull request Feb 7, 2026
I added tests for this change in #20709 so it's easier to see the diff.
Like a few others, this was factored out of #20660 to make that one
easier to land.
The change in bytes narrowing is also desirable (but unfortunately only
applies with --no-strict-bytes). We can figure out something else for
that case, as discussed in #20704
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.

2 participants


Back | FazBrowse Home | New Git URL