'Check a weibullvariate()-like function.'

def _check_weibullvariate(self, func2, func1, ptr):

    r = self._follow_cpython(ptr)
    if (func2 is not None):
        self._check_dist(func2, r.weibullvariate, [(0.5, 2.5)])
    if (func1 is not None):
        for i in range(3):
            self.assertPreciseEqual(func1(2.5), r.weibullvariate(1.0, 2.5))
