mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
* gh-138349: Fix crash when combining module-level annotation and listcomp (#138363)
(cherry picked from commit 7a6fd4a45d)
---------
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
38cd031111
commit
3643a26a01
5 changed files with 48 additions and 6 deletions
|
|
@ -635,7 +635,7 @@ def test_magic_number(self):
|
|||
# stakeholders such as OS package maintainers must be notified
|
||||
# in advance. Such exceptional releases will then require an
|
||||
# adjustment to this test case.
|
||||
EXPECTED_MAGIC_NUMBER = 3626
|
||||
EXPECTED_MAGIC_NUMBER = 3627
|
||||
actual = int.from_bytes(importlib.util.MAGIC_NUMBER[:2], 'little')
|
||||
|
||||
msg = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue