@@ -1307,10 +1307,10 @@ def test_build_empty_tuple(self):
13071307 ('RETURN_VALUE' , None , 0 ),
13081308 ]
13091309 after = [
1310- ('LOAD_CONST ' , 0 , 0 ),
1310+ ('LOAD_COMMON_CONSTANT ' , opcode . _common_constants . index (()) , 0 ),
13111311 ('RETURN_VALUE' , None , 0 ),
13121312 ]
1313- self .cfg_optimization_test (before , after , consts = [], expected_consts = [() ])
1313+ self .cfg_optimization_test (before , after , consts = [], expected_consts = [])
13141314
13151315 def test_fold_tuple_of_constants (self ):
13161316 before = [
@@ -1365,10 +1365,10 @@ def test_fold_constant_intrinsic_list_to_tuple(self):
13651365 ('RETURN_VALUE' , None , 0 )
13661366 ]
13671367 after = [
1368- ('LOAD_CONST ' , 0 , 0 ),
1368+ ('LOAD_COMMON_CONSTANT ' , opcode . _common_constants . index (()) , 0 ),
13691369 ('RETURN_VALUE' , None , 0 )
13701370 ]
1371- self .cfg_optimization_test (before , after , consts = [], expected_consts = [() ])
1371+ self .cfg_optimization_test (before , after , consts = [], expected_consts = [])
13721372
13731373 # multiple BUILD_LIST 0: ([], 1, [], 2)
13741374 same = [
0 commit comments