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

Fix ErrorCode test for Python 3.10.1 #11752

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented Dec 15, 2021

Description

The syntax error changed between 3.10.0 and 3.10.1.
https://bugs.python.org/issue46004

So far the Github actions runner still uses Python 3.10.0, which is why it hasn't yet failed on master.
https://github.com/python/mypy/runs/4532892092?check_suite_focus=true#step:3:6

@cdce8p
Copy link
Collaborator Author

cdce8p commented Dec 15, 2021

The test runner for the PR still uses 3.10.0 too. I tested it locally with 3.10.1 though.
https://github.com/python/mypy/runs/4535428747?check_suite_focus=true#step:3:6

@JelleZijlstra JelleZijlstra merged commit 61f0543 into python:master Dec 15, 2021
@JelleZijlstra
Copy link
Member

Thanks!

@cdce8p cdce8p deleted the fix-tests-3.10.1 branch December 15, 2021 16:11
@mr-c mr-c mentioned this pull request Dec 16, 2021
JukkaL pushed a commit that referenced this pull request Dec 16, 2021
Followup to #11752. The syntax error changed between 3.10.0 and 3.10.1.
https://bugs.python.org/issue46004

I missed a few the first time around unfortunately.
https://bugs.python.org/issue46004

Instead of duplicating the original output, I chose to extend the test syntax 
introduced with #10404 and added support for == version checks.
JukkaL pushed a commit that referenced this pull request Dec 16, 2021
Followup to #11752. The syntax error changed between 3.10.0 and 3.10.1.
https://bugs.python.org/issue46004

I missed a few the first time around unfortunately.
https://bugs.python.org/issue46004

Instead of duplicating the original output, I chose to extend the test syntax 
introduced with #10404 and added support for == version checks.
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
Followup to python#11752. The syntax error changed between 3.10.0 and 3.10.1.
https://bugs.python.org/issue46004

I missed a few the first time around unfortunately.
https://bugs.python.org/issue46004

Instead of duplicating the original output, I chose to extend the test syntax 
introduced with python#10404 and added support for == version checks.
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