@@ -186,7 +186,8 @@ def test_error_bad_lines(all_parsers):
186
186
msg = "Expected 1 fields in line 3, saw 3"
187
187
188
188
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" )
190
191
191
192
with pytest .raises (ParserError , match = msg ):
192
193
parser .read_csv (StringIO (data ), on_bad_lines = "error" )
@@ -222,7 +223,8 @@ def test_read_csv_wrong_num_columns(all_parsers):
222
223
msg = "Expected 6 fields in line 3, saw 7"
223
224
224
225
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" )
226
228
227
229
with pytest .raises (ParserError , match = msg ):
228
230
parser .read_csv (StringIO (data ))
@@ -246,10 +248,9 @@ def test_null_byte_char(request, all_parsers):
246
248
tm .assert_frame_equal (out , expected )
247
249
else :
248
250
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" )
253
254
else :
254
255
msg = "NULL byte detected"
255
256
with pytest .raises (ParserError , match = msg ):
@@ -299,7 +300,8 @@ def test_bad_header_uniform_error(all_parsers):
299
300
"number of columns, but 3 left to parse."
300
301
)
301
302
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" )
303
305
304
306
with pytest .raises (ParserError , match = msg ):
305
307
parser .read_csv (StringIO (data ), index_col = 0 , on_bad_lines = "error" )
0 commit comments