Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test case for recently fixed enumerate regression #12627

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

AlexWaygood
Copy link
Member

Adds a minimised version of @zzzeek's repro in #12610 (comment) to the test suite; closes #12610.

I've confirmed locally that this test fails without #12590, and now passes.

@JelleZijlstra JelleZijlstra self-assigned this Apr 19, 2022
@JelleZijlstra
Copy link
Member

Thanks!

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit cf146f4 into python:master Apr 19, 2022
@AlexWaygood AlexWaygood deleted the enumerate-test branch April 19, 2022 20:01
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.

add test case: regression w/ mypy mis-interpreting generator comprehension
2 participants