@@ -186,7 +186,8 @@ def test_error_bad_lines(all_parsers):
186186 msg = "Expected 1 fields in line 3, saw 3"
187187
188188 if parser .engine == "pyarrow" :
189- msg = "CSV parse error: Expected 1 columns, got 3: 1,2,3"
189+ # "CSV parse error: Expected 1 columns, got 3: 1,2,3"
190+ pytest .skip (reason = "https://github.com/apache/arrow/issues/38676" )
190191
191192 with pytest .raises (ParserError , match = msg ):
192193 parser .read_csv (StringIO (data ), on_bad_lines = "error" )
@@ -222,7 +223,8 @@ def test_read_csv_wrong_num_columns(all_parsers):
222223 msg = "Expected 6 fields in line 3, saw 7"
223224
224225 if parser .engine == "pyarrow" :
225- msg = "Expected 6 columns, got 7: 6,7,8,9,10,11,12"
226+ # Expected 6 columns, got 7: 6,7,8,9,10,11,12
227+ pytest .skip (reason = "https://github.com/apache/arrow/issues/38676" )
226228
227229 with pytest .raises (ParserError , match = msg ):
228230 parser .read_csv (StringIO (data ))
@@ -246,10 +248,9 @@ def test_null_byte_char(request, all_parsers):
246248 tm .assert_frame_equal (out , expected )
247249 else :
248250 if parser .engine == "pyarrow" :
249- msg = (
250- "CSV parse error: Empty CSV file or block: "
251- "cannot infer number of columns"
252- )
251+ # CSV parse error: Empty CSV file or block: "
252+ # cannot infer number of columns"
253+ pytest .skip (reason = "https://github.com/apache/arrow/issues/38676" )
253254 else :
254255 msg = "NULL byte detected"
255256 with pytest .raises (ParserError , match = msg ):
@@ -299,7 +300,8 @@ def test_bad_header_uniform_error(all_parsers):
299300 "number of columns, but 3 left to parse."
300301 )
301302 elif parser .engine == "pyarrow" :
302- msg = "CSV parse error: Expected 1 columns, got 4: col1,col2,col3,col4"
303+ # "CSV parse error: Expected 1 columns, got 4: col1,col2,col3,col4"
304+ pytest .skip (reason = "https://github.com/apache/arrow/issues/38676" )
303305
304306 with pytest .raises (ParserError , match = msg ):
305307 parser .read_csv (StringIO (data ), index_col = 0 , on_bad_lines = "error" )
0 commit comments