-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Remove --python-version 3.7 references from tests #16848
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
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
test-data/unit/pythoneval.test
Outdated
@@ -1711,7 +1710,7 @@ _testTypeAliasWithNewStyleUnion.py:25: note: Revealed type is "Union[Type[builti | |||
_testTypeAliasWithNewStyleUnion.py:28: note: Revealed type is "Union[Type[builtins.int], builtins.str]" | |||
|
|||
[case testTypeAliasWithNewStyleUnionInStub] | |||
# flags: --python-version 3.7 | |||
# flags: --python-version 3.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# flags: --python-version 3.8 |
Not clear why this needs a version restriction
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted the changes to pythoneval.test
entirely to prevent merge conflicts with #16844.
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
Remove
--python-version 3.7
from tests if not necessary anymore or use3.8
where it makes sense instead.