summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compiler_codegen.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2024-01-06 14:20:08 (GMT)
committerGitHub <noreply@github.com>2024-01-06 14:20:08 (GMT)
commitd36a36511899bd8dc9adf5fc354e8ff7c611c51d (patch)
tree71e7c9eb5020597bb8606ced3269c1b2e91d08c0 /Lib/test/test_compiler_codegen.py
parentbb4c16706059f2b10f077dce6a9f9f04e146d424 (diff)
downloadcpython-d36a36511899bd8dc9adf5fc354e8ff7c611c51d.zip
cpython-d36a36511899bd8dc9adf5fc354e8ff7c611c51d.tar.gz
cpython-d36a36511899bd8dc9adf5fc354e8ff7c611c51d.tar.bz2
gh-107901: synthetic jumps which are not at end of loop no longer check the eval breaker (#113721)
Diffstat (limited to 'Lib/test/test_compiler_codegen.py')
-rw-r--r--Lib/test/test_compiler_codegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compiler_codegen.py b/Lib/test/test_compiler_codegen.py
index 6d7731d..b5d1e2f 100644
--- a/Lib/test/test_compiler_codegen.py
+++ b/Lib/test/test_compiler_codegen.py
@@ -21,7 +21,7 @@ class IsolatedCodeGenTests(CodegenTestCase):
('TO_BOOL', 0, 1),
('POP_JUMP_IF_FALSE', false_lbl := self.Label(), 1),
('LOAD_CONST', 1, 1),
- ('JUMP', exit_lbl := self.Label()),
+ ('JUMP_NO_INTERRUPT', exit_lbl := self.Label()),
false_lbl,
('LOAD_CONST', 2, 1),
exit_lbl,