34
34
)
35
35
36
36
xfail_pyarrow = pytest .mark .usefixtures ("pyarrow_xfail" )
37
+ skip_pyarrow = pytest .mark .usefixtures ("pyarrow_skip" )
37
38
38
39
39
40
def test_override_set_noconvert_columns ():
@@ -137,7 +138,7 @@ def test_1000_sep(all_parsers):
137
138
tm .assert_frame_equal (result , expected )
138
139
139
140
140
- @xfail_pyarrow
141
+ @xfail_pyarrow # ValueError: Found non-unique column index
141
142
def test_unnamed_columns (all_parsers ):
142
143
data = """A,B,C,,
143
144
1,2,3,4,5
@@ -278,7 +279,7 @@ def test_nrows_skipfooter_errors(all_parsers):
278
279
parser .read_csv (StringIO (data ), skipfooter = 1 , nrows = 5 )
279
280
280
281
281
- @xfail_pyarrow
282
+ @skip_pyarrow
282
283
def test_missing_trailing_delimiters (all_parsers ):
283
284
parser = all_parsers
284
285
data = """A,B,C,D
@@ -366,7 +367,7 @@ def test_skip_initial_space(all_parsers):
366
367
tm .assert_frame_equal (result , expected )
367
368
368
369
369
- @xfail_pyarrow
370
+ @skip_pyarrow
370
371
def test_trailing_delimiters (all_parsers ):
371
372
# see gh-2442
372
373
data = """A,B,C
@@ -398,7 +399,7 @@ def test_escapechar(all_parsers):
398
399
tm .assert_index_equal (result .columns , Index (["SEARCH_TERM" , "ACTUAL_URL" ]))
399
400
400
401
401
- @xfail_pyarrow
402
+ @xfail_pyarrow # ValueError: the 'pyarrow' engine does not support regex separators
402
403
def test_ignore_leading_whitespace (all_parsers ):
403
404
# see gh-3374, gh-6607
404
405
parser = all_parsers
@@ -409,7 +410,7 @@ def test_ignore_leading_whitespace(all_parsers):
409
410
tm .assert_frame_equal (result , expected )
410
411
411
412
412
- @xfail_pyarrow
413
+ @skip_pyarrow
413
414
@pytest .mark .parametrize ("usecols" , [None , [0 , 1 ], ["a" , "b" ]])
414
415
def test_uneven_lines_with_usecols (all_parsers , usecols ):
415
416
# see gh-12203
@@ -432,7 +433,7 @@ def test_uneven_lines_with_usecols(all_parsers, usecols):
432
433
tm .assert_frame_equal (result , expected )
433
434
434
435
435
- @xfail_pyarrow
436
+ @skip_pyarrow
436
437
@pytest .mark .parametrize (
437
438
"data,kwargs,expected" ,
438
439
[
@@ -593,7 +594,7 @@ def test_empty_lines(all_parsers, sep, skip_blank_lines, exp_data, request):
593
594
tm .assert_frame_equal (result , expected )
594
595
595
596
596
- @xfail_pyarrow
597
+ @skip_pyarrow
597
598
def test_whitespace_lines (all_parsers ):
598
599
parser = all_parsers
599
600
data = """
@@ -609,7 +610,7 @@ def test_whitespace_lines(all_parsers):
609
610
tm .assert_frame_equal (result , expected )
610
611
611
612
612
- @xfail_pyarrow
613
+ @xfail_pyarrow # ValueError: the 'pyarrow' engine does not support regex separators
613
614
@pytest .mark .parametrize (
614
615
"data,expected" ,
615
616
[
@@ -707,7 +708,7 @@ def test_read_csv_and_table_sys_setprofile(all_parsers, read_func):
707
708
tm .assert_frame_equal (result , expected )
708
709
709
710
710
- @xfail_pyarrow
711
+ @skip_pyarrow
711
712
def test_first_row_bom (all_parsers ):
712
713
# see gh-26545
713
714
parser = all_parsers
@@ -718,7 +719,7 @@ def test_first_row_bom(all_parsers):
718
719
tm .assert_frame_equal (result , expected )
719
720
720
721
721
- @xfail_pyarrow
722
+ @skip_pyarrow
722
723
def test_first_row_bom_unquoted (all_parsers ):
723
724
# see gh-36343
724
725
parser = all_parsers
@@ -751,7 +752,7 @@ def test_blank_lines_between_header_and_data_rows(all_parsers, nrows):
751
752
tm .assert_frame_equal (df , ref [:nrows ])
752
753
753
754
754
- @xfail_pyarrow
755
+ @skip_pyarrow
755
756
def test_no_header_two_extra_columns (all_parsers ):
756
757
# GH 26218
757
758
column_names = ["one" , "two" , "three" ]
@@ -852,7 +853,7 @@ def test_read_table_delim_whitespace_non_default_sep(all_parsers, delimiter):
852
853
parser .read_table (f , delim_whitespace = True , delimiter = delimiter )
853
854
854
855
855
- @xfail_pyarrow
856
+ @skip_pyarrow
856
857
def test_dict_keys_as_names (all_parsers ):
857
858
# GH: 36928
858
859
data = "1,2"
@@ -865,7 +866,7 @@ def test_dict_keys_as_names(all_parsers):
865
866
tm .assert_frame_equal (result , expected )
866
867
867
868
868
- @xfail_pyarrow
869
+ @xfail_pyarrow # UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 0
869
870
def test_encoding_surrogatepass (all_parsers ):
870
871
# GH39017
871
872
parser = all_parsers
@@ -893,7 +894,7 @@ def test_malformed_second_line(all_parsers):
893
894
tm .assert_frame_equal (result , expected )
894
895
895
896
896
- @xfail_pyarrow
897
+ @skip_pyarrow
897
898
def test_short_single_line (all_parsers ):
898
899
# GH 47566
899
900
parser = all_parsers
@@ -904,7 +905,7 @@ def test_short_single_line(all_parsers):
904
905
tm .assert_frame_equal (result , expected )
905
906
906
907
907
- @xfail_pyarrow
908
+ @xfail_pyarrow # ValueError: Length mismatch: Expected axis has 2 elements
908
909
def test_short_multi_line (all_parsers ):
909
910
# GH 47566
910
911
parser = all_parsers
0 commit comments