Skip to content

Commit 025d453

Browse files
committed
Update test_dis
1 parent 9e24a5c commit 025d453

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_dis.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ def bug1333982(x=[]):
184184
LOAD_CONST 1 (<code object <genexpr> at 0x..., file "%s", line %d>)
185185
MAKE_FUNCTION
186186
LOAD_FAST 0 (x)
187+
GET_ITER
187188
CALL 0
188189
189190
%3d LOAD_CONST 2 (1)
@@ -764,6 +765,7 @@ def foo(x):
764765
MAKE_FUNCTION
765766
SET_FUNCTION_ATTRIBUTE 8 (closure)
766767
LOAD_DEREF 1 (y)
768+
GET_ITER
767769
CALL 0
768770
CALL 1
769771
RETURN_VALUE
@@ -784,7 +786,6 @@ def foo(x):
784786
POP_TOP
785787
L1: RESUME 0
786788
LOAD_FAST 0 (.0)
787-
GET_ITER
788789
L2: FOR_ITER 10 (to L3)
789790
STORE_FAST 1 (z)
790791
LOAD_DEREF 2 (x)

0 commit comments

Comments
 (0)