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 tests
  • Loading branch information
picnixz committed Dec 10, 2024
commit e32d749ff45559f0ad671098479c2518735ee3ea
6 changes: 2 additions & 4 deletions Lib/test/test_dis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2354,8 +2354,7 @@ def test_show_cache(self):
CACHE 0 (func_version: 0)
CACHE 0
POP_TOP
LOAD_CONST 0 (None)
RETURN_VALUE
RETURN_CONST 0 (None)
'''
for flag in ['-C', '--show-caches']:
self.check_output(source, expect, flag)
Expand All @@ -2366,8 +2365,7 @@ def test_show_offsets(self):
expect = '''
0 0 RESUME 0

1 2 LOAD_CONST 0 (None)
4 RETURN_VALUE
1 2 RETURN_CONST 0 (None)
'''
for flag in ['-O', '--show-offsets']:
self.check_output(source, expect, flag)
Expand Down