Skip to content

Commit 310e146

Browse files
authored
[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.
1 parent 98902d6 commit 310e146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_importlib/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def test_magic_number(self):
634634
# stakeholders such as OS package maintainers must be notified
635635
# in advance. Such exceptional releases will then require an
636636
# adjustment to this test case.
637-
EXPECTED_MAGIC_NUMBER = 3495
637+
EXPECTED_MAGIC_NUMBER = 3531
638638
actual = int.from_bytes(importlib.util.MAGIC_NUMBER[:2], 'little')
639639

640640
msg = (

0 commit comments

Comments
 (0)