def METHOD_NAME(self):
    a = np.random.randint(-100, 100, size=100)
    v = np.random.randint(-100, 100, size=10)
    a_argsorted = np.random.random(size=100)
    expected_exc = ValueError
    with pytest.raises(expected_exc):
        num.searchsorted(a, v, sorter=a_argsorted)
    with pytest.raises(expected_exc):
        # Numpy raises TypeError
        np.searchsorted(a, v, sorter=a_argsorted)