Skip to content

Commit 93284cf

Browse files
xfail test for upstream bug
1 parent f9f960f commit 93284cf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/pyarrow/tests/test_pandas.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,10 @@ def test_integer_index_column(self):
349349
df = pd.DataFrame([(1, 'a'), (2, 'b'), (3, 'c')])
350350
_check_pandas_roundtrip(df, preserve_index=True)
351351

352-
def test_index_metadata_field_name(self):
352+
def test_index_metadata_field_name(self, request):
353+
if _pandas_api.uses_string_dtype():
354+
# https://github.com/pandas-dev/pandas/issues/59879
355+
request.applymarker(pytest.mark.xfail(reason="bug in pandas string dtype"))
353356
# test None case, and strangely named non-index columns
354357
df = pd.DataFrame(
355358
[(1, 'a', 3.1), (2, 'b', 2.2), (3, 'c', 1.3)],

0 commit comments

Comments
 (0)