diff --git a/tests/pdarrayclass_test.py b/tests/pdarrayclass_test.py index bef07a396a..61f47df1cc 100644 --- a/tests/pdarrayclass_test.py +++ b/tests/pdarrayclass_test.py @@ -139,14 +139,7 @@ def assert_reduction_ops_match( np_op = getattr(numpy, op) nda = pda.to_ndarray() - # TODO: remove cast when #3864 is resolved. ak_result = ak_op(pda, axis=axis) - if op in ["max", "min"] and pda.dtype == ak.bool_: - if isinstance(ak_result, ak.pdarray): - ak_result = ak.cast(ak_result, dt=ak.bool_) - else: - ak_result = np.bool_(ak_result) - ak_assert_equivalent(ak_result, np_op(nda, axis=axis)) @pytest.mark.parametrize("op", REDUCTION_OPS)