Skip to content

Commit

Permalink
Skip on older pyarrow
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Nov 26, 2023
1 parent 0cfd8af commit 57f4722
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pandas/tests/series/accessors/test_struct_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import pyarrow.compute as pc
import pytest

from pandas.compat.pyarrow import pa_version_under11p0

from pandas import (
ArrowDtype,
DataFrame,
Expand Down Expand Up @@ -162,6 +164,7 @@ def test_struct_accessor_api_for_invalid(invalid):
([b"string_col"], "string_col"),
],
)
@pytest.mark.skipif(not pa_version_under11p0, reason="pyarrow>=11.0.0 required")
def test_struct_accessor_field_expanded(indices, name):
arrow_type = pa.struct(
[
Expand Down

0 comments on commit 57f4722

Please sign in to comment.