From 591dfb6e07eee18393673062fba0e8b60aa58047 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Sun, 26 Nov 2023 15:01:45 -0600 Subject: [PATCH] skip if no pyarrow.compute --- pandas/tests/series/accessors/test_struct_accessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/series/accessors/test_struct_accessor.py b/pandas/tests/series/accessors/test_struct_accessor.py index f97efa3f7be33..3d5f9bc001d5d 100644 --- a/pandas/tests/series/accessors/test_struct_accessor.py +++ b/pandas/tests/series/accessors/test_struct_accessor.py @@ -1,6 +1,5 @@ import re -import pyarrow.compute as pc import pytest from pandas.compat.pyarrow import pa_version_under11p0 @@ -14,6 +13,7 @@ import pandas._testing as tm pa = pytest.importorskip("pyarrow") +pc = pytest.importorskip("pyarrow.compute") def test_struct_accessor_dtypes():