Skip to content

Commit

Permalink
xfail test for upstream bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Nov 13, 2024
1 parent f9f960f commit 93284cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/pyarrow/tests/test_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,10 @@ def test_integer_index_column(self):
df = pd.DataFrame([(1, 'a'), (2, 'b'), (3, 'c')])
_check_pandas_roundtrip(df, preserve_index=True)

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

0 comments on commit 93284cf

Please sign in to comment.