From 5737db90781dc6486fe9bdeb30ed1a65544b0a56 Mon Sep 17 00:00:00 2001 From: Amanda Potts Date: Fri, 15 Nov 2024 16:34:40 -0500 Subject: [PATCH] update tests --- tests/pdarrayclass_test.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/pdarrayclass_test.py b/tests/pdarrayclass_test.py index bef07a396a0..61f47df1cce 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)