diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2019-08-24 13:11:52 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-24 13:11:52 +0300 |
| commit | ef61c524ddeeb56da3858b86e349e7288d68178e (patch) | |
| tree | e8a9defe85faff05464db6335140eb0990499f15 /Lib/test/test_importlib/test_util.py | |
| parent | e9c90aa43144b0be1e4e393e8cb549573437a5da (diff) | |
| download | cpython-git-ef61c524ddeeb56da3858b86e349e7288d68178e.tar.gz | |
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 8489c19872..17de46666a 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 = ( |
