We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_peepholer
1 parent 7ef6a0b commit 2af2bbcCopy full SHA for 2af2bbc
Lib/test/test_peepholer.py
@@ -1370,16 +1370,6 @@ def test_optimize_if_const_list(self):
1370
]
1371
self.cfg_optimization_test(same, same, consts=[])
1372
1373
- # not enough consts
1374
- same = [
1375
- ('LOAD_SMALL_INT', 1, 0),
1376
- ('LOAD_SMALL_INT', 2, 0),
1377
- ('LOAD_SMALL_INT', 3, 0),
1378
- ('BUILD_LIST', 4, 0),
1379
- ('RETURN_VALUE', None, 0),
1380
- ]
1381
- self.cfg_optimization_test(same, same, consts=[])
1382
-
1383
# not all consts
1384
same = [
1385
('LOAD_SMALL_INT', 1, 0),
@@ -1420,16 +1410,6 @@ def test_optimize_if_const_set(self):
1420
1410
1421
1411
1422
1412
1423
1424
1425
1426
1427
1428
- ('BUILD_SET', 4, 0),
1429
1430
1431
1432
1433
1413
1434
1414
1435
1415
0 commit comments