Skip to content

Commit d02b308

Browse files
committed
simpler test skipping approach
1 parent 0ef070c commit d02b308

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/tests/extension/test_masked.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,9 @@ def check_reduce_groupby(self, ser: pd.Series, op_name: str, skipna: bool):
306306
if (
307307
op_name == "prod"
308308
and skipna
309-
and data.dtype.itemsize < 8
310-
and np.intp().itemsize < 8
311309
):
312310
pytest.mark.xfail(
313-
reason=f"{op_name} with itemsize {data.dtype.itemsize} overflows"
311+
reason=f"{op_name} overflows"
314312
)
315313

316314
if not skipna and ser.isna().any() and op_name != "skew":

0 commit comments

Comments
 (0)