@@ -105,13 +105,13 @@ def test_header_multi_index(self):
105105R_l0_g4,R_l1_g4,R4C0,R4C1,R4C2 
106106""" 
107107
108-         df  =  self .read_csv (StringIO (data ), header = [0 , 1 , 2 , 3 ],  index_col = [ 
109-             0 , 1 ],  tupleize_cols = False )
108+         df  =  self .read_csv (StringIO (data ), header = [0 , 1 , 2 , 3 ],
109+                             index_col = [ 0 , 1 ])
110110        tm .assert_frame_equal (df , expected )
111111
112112        # skipping lines in the header 
113-         df  =  self .read_csv (StringIO (data ), header = [0 , 1 , 2 , 3 ],  index_col = [ 
114-             0 , 1 ],  tupleize_cols = False )
113+         df  =  self .read_csv (StringIO (data ), header = [0 , 1 , 2 , 3 ],
114+                             index_col = [ 0 , 1 ])
115115        tm .assert_frame_equal (df , expected )
116116
117117        # INVALID OPTIONS 
@@ -121,25 +121,22 @@ def test_header_multi_index(self):
121121                FutureWarning , check_stacklevel = False ):
122122            pytest .raises (ValueError , self .read_csv ,
123123                          StringIO (data ), header = [0 , 1 , 2 , 3 ],
124-                           index_col = [0 , 1 ], as_recarray = True ,
125-                           tupleize_cols = False )
124+                           index_col = [0 , 1 ], as_recarray = True )
126125
127126        # names 
128127        pytest .raises (ValueError , self .read_csv ,
129128                      StringIO (data ), header = [0 , 1 , 2 , 3 ],
130-                       index_col = [0 , 1 ], names = ['foo' , 'bar' ],
131-                       tupleize_cols = False )
129+                       index_col = [0 , 1 ], names = ['foo' , 'bar' ])
132130
133131        # usecols 
134132        pytest .raises (ValueError , self .read_csv ,
135133                      StringIO (data ), header = [0 , 1 , 2 , 3 ],
136-                       index_col = [0 , 1 ], usecols = ['foo' , 'bar' ],
137-                       tupleize_cols = False )
134+                       index_col = [0 , 1 ], usecols = ['foo' , 'bar' ])
138135
139136        # non-numeric index_col 
140137        pytest .raises (ValueError , self .read_csv ,
141138                      StringIO (data ), header = [0 , 1 , 2 , 3 ],
142-                       index_col = ['foo' , 'bar' ],  tupleize_cols = False )
139+                       index_col = ['foo' , 'bar' ])
143140
144141    def  test_header_multiindex_common_format (self ):
145142
0 commit comments