[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:
T. Wouters 2023-08-04 15:41:03 +02:00 committed by GitHub
parent 98902d6c05
commit 310e1460c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = (