mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
[3.12] Update the expected bytecode magic in test_importlib.test_util (#107626)
Update the expected bytecode magic in test_importlib.test_util to the final 3.12 magic number. From now on it's not allowed to change for any 3.12 release.
This commit is contained in:
parent
98902d6c05
commit
310e1460c0
1 changed files with 1 additions and 1 deletions
|
|
@ -634,7 +634,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 = 3495
|
||||
EXPECTED_MAGIC_NUMBER = 3531
|
||||
actual = int.from_bytes(importlib.util.MAGIC_NUMBER[:2], 'little')
|
||||
|
||||
msg = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue