Skip to content

Commit 282b494

Browse files
committed
Update tests
1 parent 09a6011 commit 282b494

File tree

5 files changed

+221
-187
lines changed

5 files changed

+221
-187
lines changed

Lib/test/test_compiler_assemble.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def inner():
100100
('MAKE_FUNCTION', 0, 2),
101101
('SET_FUNCTION_ATTRIBUTE', 8, 2),
102102
('PUSH_NULL', 0, 1),
103+
('PUSH_NULL', 0, 1),
103104
('CALL', 0, 2), # (lambda: x)()
104105
('LOAD_CONST', 2, 2), # 2
105106
('BINARY_OP', 6, 2), # %

Lib/test/test_compiler_codegen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def test_for_loop(self):
4444
('LOAD_NAME', 2, 2),
4545
('PUSH_NULL', None, 2),
4646
('LOAD_NAME', 1, 2),
47+
('PUSH_NULL', None, 2),
4748
('CALL', 1, 2),
4849
('POP_TOP', None),
4950
('JUMP', loop_lbl),

0 commit comments

Comments
 (0)