-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[self-tests] failure against Python 3.10.3 #12451
Labels
Comments
stanislavlevin
added a commit
to stanislavlevin/mypy
that referenced
this issue
Mar 25, 2022
Python 3.10.3 is more correct about syntax error for `mypy` test case `testBlocker`. See https://bugs.python.org/issue46240 for details. Closes python#12451 Signed-off-by: Stanislav Levin <slev@altlinux.org>
JelleZijlstra
pushed a commit
that referenced
this issue
Mar 25, 2022
…12452) Python 3.10.3 is more correct about syntax error for `mypy` test case `testBlocker`. See https://bugs.python.org/issue46240 for details. Closes #12451 Signed-off-by: Stanislav Levin <slev@altlinux.org>
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this issue
Apr 1, 2022
https://build.opensuse.org/request/show/965437 by user mcepl + dimstar_suse - Add 12452-stringent-err-msg.patch to make mypy work with more stringent error messages in Python >= 3.10.3 (gh#python/mypy#12451). - Update to version 0.942: - Fixes to Regressions: - Let overload item have a more general return type than the implementation (Jukka Lehtosalo, PR 12435) - Fix inheritance false positives with dataclasses/attrs (Jukka Lehtosalo, PR 12411) - Support overriding dunder attributes in Enum subclass (Petter Friberg, PR 12138) - Fix small conditional overload regression (Marc Mueller, PR 12336) - Other Fixes: - Fix issues related to the order of processing in the builtins import cycle (Jukka Lehtosalo, PR 12431) - Fix crash in match statement if class name is undefined (Jukka Lehtosalo, PR 12417) - Allow non-final __match_args__ and overriding (
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
1 test of
mypy
's test suite fails against Python 3.10.3 with:To Reproduce
python -m pytest 'mypy/test/testcmdline.py::PythonCmdlineSuite::cmdline.test::testBlocker'
Expected Behavior
All tests should pass.
Your Environment
I think this is due to this change:
https://docs.python.org/3/whatsnew/changelog.html#id3
https://bugs.python.org/issue46240
For example, Python 3.10.0:
and Python 3.10.3:
The text was updated successfully, but these errors were encountered: