@@ -818,15 +818,15 @@ def test_iloc_setitem_bool_indexer(self, klass):
818818 tm .assert_frame_equal (df , expected )
819819
820820 @pytest .mark .parametrize ("indexer" , [[1 ], slice (1 , 2 )])
821- def test_setitem_iloc_pure_position_based (self , indexer ):
821+ def test_iloc_setitem_pure_position_based (self , indexer ):
822822 # GH#22046
823823 df1 = DataFrame ({"a2" : [11 , 12 , 13 ], "b2" : [14 , 15 , 16 ]})
824824 df2 = DataFrame ({"a" : [1 , 2 , 3 ], "b" : [4 , 5 , 6 ], "c" : [7 , 8 , 9 ]})
825825 df2 .iloc [:, indexer ] = df1 .iloc [:, [0 ]]
826826 expected = DataFrame ({"a" : [1 , 2 , 3 ], "b" : [11 , 12 , 13 ], "c" : [7 , 8 , 9 ]})
827827 tm .assert_frame_equal (df2 , expected )
828828
829- def test_setitem_iloc_dictionary_value (self ):
829+ def test_iloc_setitem_dictionary_value (self ):
830830 # GH#37728
831831 df = DataFrame ({"x" : [1 , 2 ], "y" : [2 , 2 ]})
832832 rhs = dict (x = 9 , y = 99 )
@@ -1000,7 +1000,7 @@ def test_iloc_getitem_nonunique(self):
10001000 ser = Series ([0 , 1 , 2 ], index = [0 , 1 , 0 ])
10011001 assert ser .iloc [2 ] == 2
10021002
1003- def test_setitem_iloc_pure_position_based (self ):
1003+ def test_iloc_setitem_pure_position_based (self ):
10041004 # GH#22046
10051005 ser1 = Series ([1 , 2 , 3 ])
10061006 ser2 = Series ([4 , 5 , 6 ], index = [1 , 0 , 2 ])
0 commit comments