Skip to content

Commit 44f7ffc

Browse files
committed
Remove test with invalid bytecode
Not enough items on stack
1 parent f12573f commit 44f7ffc

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Lib/test/test_peepholer.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,19 +1437,6 @@ def test_fold_constant_intrinsic_list_to_tuple(self):
14371437
]
14381438
self.cfg_optimization_test(before, after, consts=[], expected_consts=[(1, 2, 3)])
14391439

1440-
# no sequence start
1441-
same = [
1442-
('LOAD_SMALL_INT', 1, 0),
1443-
('LIST_APPEND', 1, 0),
1444-
('LOAD_SMALL_INT', 2, 0),
1445-
('LIST_APPEND', 1, 0),
1446-
('LOAD_SMALL_INT', 3, 0),
1447-
('LIST_APPEND', 1, 0),
1448-
('CALL_INTRINSIC_1', INTRINSIC_LIST_TO_TUPLE, 0),
1449-
('RETURN_VALUE', None, 0)
1450-
]
1451-
self.cfg_optimization_test(same, same, consts=[])
1452-
14531440
def test_optimize_if_const_list(self):
14541441
before = [
14551442
('NOP', None, 0),

0 commit comments

Comments
 (0)