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

Implement basic constraints unit tests. #13210

Merged
merged 2 commits into from
Jul 21, 2022
Merged

Implement basic constraints unit tests. #13210

merged 2 commits into from
Jul 21, 2022

Conversation

jhance
Copy link
Collaborator

@jhance jhance commented Jul 20, 2022

This adds some basic constraints tests with the intent of adding more complex ones for variadic generics later.

@github-actions

This comment has been minimized.

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
@github-actions
Copy link
Contributor

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

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks! Using unit tests should make it easier to debug issues, since they will exercise only a small subset of the entire type checking machinery.

@JukkaL JukkaL merged commit b0e59b2 into master Jul 21, 2022
@JukkaL JukkaL deleted the constraints-1 branch July 21, 2022 12:15
@tyralla tyralla mentioned this pull request Nov 18, 2022
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.

3 participants