diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-08-24 10:11:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-24 10:11:52 (GMT) |
commit | ef61c524ddeeb56da3858b86e349e7288d68178e (patch) | |
tree | e8a9defe85faff05464db6335140eb0990499f15 /Lib/test/test_importlib/test_util.py | |
parent | e9c90aa43144b0be1e4e393e8cb549573437a5da (diff) | |
download | cpython-ef61c524ddeeb56da3858b86e349e7288d68178e.zip cpython-ef61c524ddeeb56da3858b86e349e7288d68178e.tar.gz cpython-ef61c524ddeeb56da3858b86e349e7288d68178e.tar.bz2 |
bpo-37830: Fix compilation of break and continue in finally. (GH-15320)
Fix compilation of "break" and "continue" in the
"finally" block when the corresponding "try" block
contains "return" with a non-constant value.
Diffstat (limited to 'Lib/test/test_importlib/test_util.py')
-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 8489c19..17de466 100644 --- a/Lib/test/test_importlib/test_util.py +++ b/Lib/test/test_importlib/test_util.py @@ -861,7 +861,7 @@ class MagicNumberTests(unittest.TestCase): in advance. Such exceptional releases will then require an adjustment to this test case. """ - EXPECTED_MAGIC_NUMBER = 3410 + EXPECTED_MAGIC_NUMBER = 3413 actual = int.from_bytes(importlib.util.MAGIC_NUMBER[:2], 'little') msg = ( |