Skip to content

Commit

Permalink
minor test update
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpotts committed Nov 8, 2024
1 parent d97c5b6 commit 19fb1a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/pdarrayclass_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import arkouda.pdarrayclass

REDUCTION_OPS = list(set(ak.pdarrayclass.SUPPORTED_REDUCTION_OPS) - set(["isSorted", "isSortedLocally"]))

INDEX_REDUCTION_OPS = ak.pdarrayclass.SUPPORTED_INDEX_REDUCTION_OPS

DTYPES = ["int64", "float64", "bool", "uint64"]

Expand Down Expand Up @@ -151,7 +151,7 @@ def assert_reduction_ops_match(

ak_assert_equivalent(ak_result, np_op(nda, axis=axis))

@pytest.mark.parametrize("op", ["argmin", "argmax"])
@pytest.mark.parametrize("op", INDEX_REDUCTION_OPS)
@pytest.mark.parametrize("size", pytest.prob_size)
@pytest.mark.parametrize("dtype", DTYPES)
@pytest.mark.parametrize("arry_gen", [ak.zeros, ak.ones, ak.arange])
Expand All @@ -165,7 +165,7 @@ def test_index_reduction_1D(self, op, dtype, arry_gen, size, axis):
ak_assert_equivalent(ak_result, np_op(nda, axis=axis))

@pytest.mark.skip_if_max_rank_less_than(3)
@pytest.mark.parametrize("op", ["argmin", "argmax"])
@pytest.mark.parametrize("op", INDEX_REDUCTION_OPS)
@pytest.mark.parametrize("size", pytest.prob_size)
@pytest.mark.parametrize("dtype", DTYPES)
@pytest.mark.parametrize("arry_gen", [ak.zeros, ak.ones, ak.arange])
Expand Down

0 comments on commit 19fb1a2

Please sign in to comment.