Skip to content

Commit e32d749

Browse files
committed
fix tests
1 parent 8d55075 commit e32d749

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Lib/test/test_dis.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2354,8 +2354,7 @@ def test_show_cache(self):
23542354
CACHE 0 (func_version: 0)
23552355
CACHE 0
23562356
POP_TOP
2357-
LOAD_CONST 0 (None)
2358-
RETURN_VALUE
2357+
RETURN_CONST 0 (None)
23592358
'''
23602359
for flag in ['-C', '--show-caches']:
23612360
self.check_output(source, expect, flag)
@@ -2366,8 +2365,7 @@ def test_show_offsets(self):
23662365
expect = '''
23672366
0 0 RESUME 0
23682367
2369-
1 2 LOAD_CONST 0 (None)
2370-
4 RETURN_VALUE
2368+
1 2 RETURN_CONST 0 (None)
23712369
'''
23722370
for flag in ['-O', '--show-offsets']:
23732371
self.check_output(source, expect, flag)

0 commit comments

Comments
 (0)