Skip to content

Commit bbbf2e8

Browse files
committed
Add no_none=True to choose type matrix test
1 parent 2771c87 commit bbbf2e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/tests/test_indexing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,8 +1599,8 @@ def test_choose_broadcasting(self):
15991599
expected = numpy.choose(inds_np, chcs_np)
16001600
assert_array_equal(result, expected)
16011601

1602-
@pytest.mark.parametrize("chc1_dt", get_all_dtypes())
1603-
@pytest.mark.parametrize("chc2_dt", get_all_dtypes())
1602+
@pytest.mark.parametrize("chc1_dt", get_all_dtypes(no_none=True))
1603+
@pytest.mark.parametrize("chc2_dt", get_all_dtypes(no_none=True))
16041604
def test_choose_promote_choices(self, chc1_dt, chc2_dt):
16051605
inds = dpnp.array([0, 1], dtype="i4")
16061606
inds_np = dpnp.asnumpy(inds)

0 commit comments

Comments
 (0)