summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compile.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-10-25 11:26:26 (GMT)
committerGitHub <noreply@github.com>2022-10-25 11:26:26 (GMT)
commita1a8828e42a3ce08374655201fd49ab0137823cc (patch)
treec7e525fc217a62d52ec87d81c4e52767dcafa1ad /Lib/test/test_compile.py
parent8aa1e994a530e538a5433c8ada6500ffc1214467 (diff)
downloadcpython-a1a8828e42a3ce08374655201fd49ab0137823cc.zip
cpython-a1a8828e42a3ce08374655201fd49ab0137823cc.tar.gz
cpython-a1a8828e42a3ce08374655201fd49ab0137823cc.tar.bz2
gh-98461: Fix location of RETURN_VALUE in async generator bytecode. compiler_jump_if no longer needs a pointer to the loc. (GH-98494)
Diffstat (limited to 'Lib/test/test_compile.py')
-rw-r--r--Lib/test/test_compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py
index a59d692..27f91db 100644
--- a/Lib/test/test_compile.py
+++ b/Lib/test/test_compile.py
@@ -1283,7 +1283,7 @@ assert (a > 0 and
self.assertOpcodeSourcePositionIs(compiled_code, 'YIELD_VALUE',
line=1, end_line=2, column=1, end_column=8, occurrence=2)
self.assertOpcodeSourcePositionIs(compiled_code, 'RETURN_VALUE',
- line=6, end_line=6, column=23, end_column=30, occurrence=1)
+ line=1, end_line=6, column=0, end_column=32, occurrence=1)
def test_multiline_list_comprehension(self):
snippet = """\