[3.14] gh-137288: Fix bug where boolean expressions are not associated with the correct exception handler (GH-137310). (#137427)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
This commit is contained in:
Irit Katriel 2025-08-12 10:56:37 +01:00 committed by GitHub
parent 019238ab18
commit 0ccf244a19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 27 additions and 2 deletions

View file

@ -635,7 +635,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 = 3625
EXPECTED_MAGIC_NUMBER = 3626
actual = int.from_bytes(importlib.util.MAGIC_NUMBER[:2], 'little')
msg = (