Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix test_dis.py
  • Loading branch information
gvanrossum committed Jun 22, 2021
commit 19a494f08ac0fd9aafc7e23c2fac84d2f160ea05
10 changes: 5 additions & 5 deletions Lib/test/test_dis.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def get_disassembly(self, func, lasti=-1, wrapper=True, **kwargs):
Kw-only arguments: 0
Number of locals: 1
Stack size: 3
Flags: OPTIMIZED, NEWLOCALS, NOFREE
Flags: OPTIMIZED, NEWLOCALS
Constants:
{code_info_consts}
Names:
Expand Down Expand Up @@ -800,7 +800,7 @@ def f(c=c):
Kw-only arguments: 0
Number of locals: 0
Stack size: 2
Flags: NOFREE
Flags: 0x0
Constants:
0: 1
Names:
Expand All @@ -814,7 +814,7 @@ def f(c=c):
Kw-only arguments: 0
Number of locals: 0
Stack size: 2
Flags: NOFREE
Flags: 0x0
Constants:
0: 1
1: None
Expand All @@ -829,7 +829,7 @@ def f(c=c):
Kw-only arguments: 0
Number of locals: 0
Stack size: 2
Flags: NOFREE
Flags: 0x0
Constants:
0: 0
1: 1
Expand All @@ -851,7 +851,7 @@ async def async_def():
Kw-only arguments: 0
Number of locals: 2
Stack size: 10
Flags: OPTIMIZED, NEWLOCALS, NOFREE, COROUTINE
Flags: OPTIMIZED, NEWLOCALS, COROUTINE
Constants:
0: None
1: 1
Expand Down