@testing.numpy_cupy_array_equal()
def test_searchsorted_all_nans(self, xp):
    x = testing.shaped_arange((10,), xp, xp.float64)
    x[(- 1)] = float('nan')
    bins = xp.array([float('nan'), float('nan'), float('nan'), float('nan'), float('nan')])
    y = xp.searchsorted(bins, x, side=self.side)
    return (y,)
@testing.numpy_cupy_array_equal()
def test_searchsorted_all_nans(self, xp):
    x = testing.shaped_arange((10,), xp, xp.float64)
    x[(- 1)] = float('nan')
    bins = xp.array([float('nan'), float('nan'), float('nan'), float('nan'), float('nan')])
    y = xp.searchsorted(bins, x, side=self.side)
    return (y,)