distname + " chisquare"
dist_ = distdiscrete[:]
del dist_[6:8] // only include hypergeom once
for distname, arg in dist_:
distfn = getattr(stats,distname)
signature = inspect.getargspec(distfn._parse_args)
After Change
yield check_discrete_chisquare, distfn, arg, rvs, alpha, \
distname + " chisquare"
seen = set()
for distname, arg in distdiscrete:
if distname in seen:
continue
seen.add(distname)