@testing.for_all_dtypes_combination(names=['cond_type', 'x_type', 'y_type'])
@testing.numpy_cupy_allclose()
def test_where_two_arrays(self, xp, cond_type, x_type, y_type):
    m = testing.shaped_random(self.cond_shape, xp, xp.bool_)
    cond = (testing.shaped_random(self.cond_shape, xp, cond_type) * m)
    x = testing.shaped_random(self.x_shape, xp, x_type, seed=0)
    y = testing.shaped_random(self.y_shape, xp, y_type, seed=1)
    return xp.where(cond, x, y)
@testing.for_all_dtypes_combination(names=['cond_type', 'x_type', 'y_type'])
@testing.numpy_cupy_allclose()
def test_where_two_arrays(self, xp, cond_type, x_type, y_type):
    m = testing.shaped_random(self.cond_shape, xp, xp.bool_)
    cond = (testing.shaped_random(self.cond_shape, xp, cond_type) * m)
    x = testing.shaped_random(self.x_shape, xp, x_type, seed=0)
    y = testing.shaped_random(self.y_shape, xp, y_type, seed=1)
    return xp.where(cond, x, y)