diff options
author | T. Wouters <thomas@python.org> | 2023-08-04 13:41:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 13:41:03 (GMT) |
commit | 310e1460c08d71447305e381e4fcd25af6519aeb (patch) | |
tree | 107f4b25fb318f485bd28792f7f59d6bf5e100a4 /Lib/test/test_importlib | |
parent | 98902d6c0522df022d2f88499faf9774970e2838 (diff) | |
download | cpython-310e1460c08d71447305e381e4fcd25af6519aeb.zip cpython-310e1460c08d71447305e381e4fcd25af6519aeb.tar.gz cpython-310e1460c08d71447305e381e4fcd25af6519aeb.tar.bz2 |
[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.
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r-- | Lib/test/test_importlib/test_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py index e967adc..217c1ad 100644 --- a/Lib/test/test_importlib/test_util.py +++ b/Lib/test/test_importlib/test_util.py @@ -634,7 +634,7 @@ class MagicNumberTests(unittest.TestCase): # 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 = ( |