Skip to content

Commit 5ae8f7f

Browse files
committed
Add boolean
1 parent 85df4ae commit 5ae8f7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/extension/test_arrow.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -534,16 +534,16 @@ def test_reduce_series_numeric(self, data, all_numeric_reductions, skipna, reque
534534
"std",
535535
"var",
536536
"median",
537-
"skew",
538537
}:
539538
request.applymarker(xfail_mark)
540539
elif (
541540
not pa_version_under20p0
542541
and skipna
543542
and all_numeric_reductions == "skew"
544543
and (
545-
pa.types.is_integer(data.dtype.pyarrow_dtype)
546-
or pa.types.is_floating(data.dtype.pyarrow_dtype)
544+
pa.types.is_integer(pa_dtype)
545+
or pa.types.is_floating(pa_dtype)
546+
or pa.types.is_boolean(pa_dtype)
547547
)
548548
):
549549
request.applymarker(

0 commit comments

Comments
 (0)