Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(test): Failure test case for mypyc dictionary subclass views#19076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
BobTheBuidler wants to merge8 commits intopython:master
base:master
Choose a base branch
Loading
fromBobTheBuidler:patch-2

Conversation

BobTheBuidler
Copy link

@BobTheBuidlerBobTheBuidler commentedMay 12, 2025
edited
Loading

I've created a failing test case for a mypyc bug with dict views as seen here:https://github.com/BobTheBuidler/checksum_dict/actions/runs/14843222374/job/41670896987

I added some new (working) test cases:

  • dict
    • keys
    • values
    • items
  • dict subclass
    • keys
    • values
    • items

and the failure cases:

  • dict subclass with 2 bases
    • keys
    • values
    • items

@BobTheBuidlerBobTheBuidler changed the titlefeat(test): test mypyc dict viewsfeat(test): Failure test case for mypyc dictionary subclass viewsMay 12, 2025
@BobTheBuidler
Copy link
Author

@JukkaL Would you happen to know what I need to change so the tests are able to find the DefaultDict object in the typing module? Or is there someone better to ask about this?

@BobTheBuidler
Copy link
Author

Fascinating, I've managed to make it work using a type: ignore comment, and now we have our successful (wut?) failure case!

@BobTheBuidlerBobTheBuidler marked this pull request as ready for reviewMay 14, 2025 03:39
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@BobTheBuidler

[8]ページ先頭

©2009-2025 Movatter.jp