summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compiler_assemble.py
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2023-08-09 18:19:39 (GMT)
committerGitHub <noreply@github.com>2023-08-09 18:19:39 (GMT)
commita9caf9cf9041d6d0b69f8be0fd778dd1f9b50e74 (patch)
tree5e325bac9eda1b264d3e5fd32991eed91d243f16 /Lib/test/test_compiler_assemble.py
parent0a7f48b9a8d54809f1e9272337aefe2444158e64 (diff)
downloadcpython-a9caf9cf9041d6d0b69f8be0fd778dd1f9b50e74.zip
cpython-a9caf9cf9041d6d0b69f8be0fd778dd1f9b50e74.tar.gz
cpython-a9caf9cf9041d6d0b69f8be0fd778dd1f9b50e74.tar.bz2
GH-105848: Simplify the arrangement of CALL's stack (GH-107788)
Diffstat (limited to 'Lib/test/test_compiler_assemble.py')
-rw-r--r--Lib/test/test_compiler_assemble.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compiler_assemble.py b/Lib/test/test_compiler_assemble.py
index 6df72cb..5696433 100644
--- a/Lib/test/test_compiler_assemble.py
+++ b/Lib/test/test_compiler_assemble.py
@@ -94,12 +94,12 @@ class IsolatedAssembleTests(AssemblerTestCase):
instructions = [
('RESUME', 0,),
- ('PUSH_NULL', 0, 1),
('LOAD_CLOSURE', 0, 1),
('BUILD_TUPLE', 1, 1),
('LOAD_CONST', 1, 1),
('MAKE_FUNCTION', 0, 2),
('SET_FUNCTION_ATTRIBUTE', 8, 2),
+ ('PUSH_NULL', 0, 1),
('CALL', 0, 2), # (lambda: x)()
('LOAD_CONST', 2, 2), # 2
('BINARY_OP', 6, 2), # %