Skip to content

Commit b6bd3af

Browse files
committed
Fix test failures by adding importorskip
1 parent 71e442e commit b6bd3af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/series/indexing/test_mask.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def test_mask_inplace():
7373

7474
@pytest.mark.parametrize("dtype", ["Int64", "int64[pyarrow]"])
7575
def test_mask_na(dtype):
76+
if dtype == "int64[pyarrow]":
77+
pytest.importorskip("pyarrow")
7678
# We should not be filling pd.NA. See GH#60729
7779
series = Series([None, 1, 2, None, 3, 4, None], dtype=dtype)
7880
result = series.mask(series <= 2, -99)

0 commit comments

Comments
 (0)