'Check choice(a) against pop.'

def _check_choice_1(self, a, pop):

    cfunc = jit(nopython=True)(numpy_choice1)
    n = len(pop)
    res = [cfunc(a) for i in range(n)]
    self._check_results(pop, res)
    dist = [cfunc(a) for i in range((n * 100))]
    self._check_dist(pop, dist)
