]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Update the expected bytecode magic in test_importlib.test_util (#107626)
authorT. Wouters <thomas@python.org>
Fri, 4 Aug 2023 13:41:03 +0000 (15:41 +0200)
committerGitHub <noreply@github.com>
Fri, 4 Aug 2023 13:41:03 +0000 (13:41 +0000)
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.

Lib/test/test_importlib/test_util.py

index e967adc9451c8137e3244394b5c5a901f5f64ee5..217c1ad78be2525b5d02634ef0cc592253433d33 100644 (file)
@@ -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 = (