Skip to content

Commit 08bfe64

Browse files
committed
skip on no pyarrow
1 parent 84f0e26 commit 08bfe64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/arrays/test_mask.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from pandas.util import testing as tm
55

66
from pandas.core.arrays._mask import NumpyBoolArray
7-
from pandas.core.arrays.bool import ArrowBoolArray
87

98

109
@pytest.fixture
@@ -15,6 +14,7 @@ def numpy_data():
1514
@pytest.fixture
1615
def arrow_data():
1716
pytest.importorskip('pyarrow', minversion="0.10.0")
17+
from pandas.core.arrays.bool import ArrowBoolArray
1818
return ArrowBoolArray([1, 0, 1])
1919

2020

@@ -24,6 +24,7 @@ def mask_type(request):
2424
return NumpyBoolArray
2525
elif request.param == 'arrow':
2626
pytest.importorskip('pyarrow', minversion="0.10.0")
27+
from pandas.core.arrays.bool import ArrowBoolArray
2728
return ArrowBoolArray
2829

2930

0 commit comments

Comments
 (0)