Skip to content

Commit 19a494f

Browse files
committed
Fix test_dis.py
1 parent c567c53 commit 19a494f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Lib/test/test_dis.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ def get_disassembly(self, func, lasti=-1, wrapper=True, **kwargs):
719719
Kw-only arguments: 0
720720
Number of locals: 1
721721
Stack size: 3
722-
Flags: OPTIMIZED, NEWLOCALS, NOFREE
722+
Flags: OPTIMIZED, NEWLOCALS
723723
Constants:
724724
{code_info_consts}
725725
Names:
@@ -800,7 +800,7 @@ def f(c=c):
800800
Kw-only arguments: 0
801801
Number of locals: 0
802802
Stack size: 2
803-
Flags: NOFREE
803+
Flags: 0x0
804804
Constants:
805805
0: 1
806806
Names:
@@ -814,7 +814,7 @@ def f(c=c):
814814
Kw-only arguments: 0
815815
Number of locals: 0
816816
Stack size: 2
817-
Flags: NOFREE
817+
Flags: 0x0
818818
Constants:
819819
0: 1
820820
1: None
@@ -829,7 +829,7 @@ def f(c=c):
829829
Kw-only arguments: 0
830830
Number of locals: 0
831831
Stack size: 2
832-
Flags: NOFREE
832+
Flags: 0x0
833833
Constants:
834834
0: 0
835835
1: 1
@@ -851,7 +851,7 @@ async def async_def():
851851
Kw-only arguments: 0
852852
Number of locals: 2
853853
Stack size: 10
854-
Flags: OPTIMIZED, NEWLOCALS, NOFREE, COROUTINE
854+
Flags: OPTIMIZED, NEWLOCALS, COROUTINE
855855
Constants:
856856
0: None
857857
1: 1

0 commit comments

Comments
 (0)