Skip to content

Commit baefc5c

Browse files
WillAydjorisvandenbossche
authored andcommitted
Skip test if pyarrow not installed in test_numeric_only
1 parent 0a2981a commit baefc5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/groupby/test_numeric_only.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def test_axis1_numeric_only(request, groupby_func, numeric_only, using_infer_str
275275
"has no kernel",
276276
)
277277
if using_infer_string:
278-
import pyarrow as pa
278+
pa = pytest.importorskip("pyarrow")
279279

280280
errs = (TypeError, pa.lib.ArrowNotImplementedError)
281281
else:

0 commit comments

Comments
 (0)