Skip to content

Commit

Permalink
[3.12] Update the expected bytecode magic in test_importlib.test_util (
Browse files Browse the repository at this point in the history
…python#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.
  • Loading branch information
Yhg1s authored Aug 4, 2023
1 parent 98902d6 commit 310e146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_importlib/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit 310e146

Please sign in to comment.