Skip to content

Commit

Permalink
Closes Bears-R-Us#3912: failing unit test test_is_locally_sorted_mult…
Browse files Browse the repository at this point in the history
…idim under gasnet nl==2
  • Loading branch information
ajpotts committed Dec 3, 2024
1 parent d7ca013 commit 0960010
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pdarrayclass_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,13 @@ def test_is_locally_sorted_multi_locale(self, size):
assert not is_sorted(a)

@pytest.mark.skip_if_max_rank_less_than(3)
@pytest.mark.skip_if_nl_greater_than(2)
@pytest.mark.parametrize("dtype", DTYPES)
@pytest.mark.parametrize("axis", [None, 0, 1, (0, 2), (0, 1, 2)])
def test_is_locally_sorted_multidim(self, dtype, axis):
from arkouda.pdarrayclass import is_locally_sorted

a = ak.array(ak.randint(0, 100, (5, 7, 4), dtype=ak.int64, seed=SEED))
a = ak.array(ak.randint(0, 100, (20, 20, 20), dtype=dtype, seed=SEED))
sorted = is_locally_sorted(a, axis=axis)
if isinstance(sorted, np.bool_):
assert not sorted
Expand Down

0 comments on commit 0960010

Please sign in to comment.