bunch more __all__ lists

also modified check_all function to suppress all warnings since they aren't
relevant to what this test is doing (allows quiet checking of regsub, for
instance)
This commit is contained in:
Skip Montanaro 2001-02-15 22:15:14 +00:00
parent 04f1d37471
commit 0de65807e6
28 changed files with 111 additions and 1 deletions

View file

@ -76,6 +76,12 @@ used to "move backward in time":
from math import log as _log, exp as _exp, pi as _pi, e as _e
from math import sqrt as _sqrt, acos as _acos, cos as _cos, sin as _sin
__all__ = ["Random","seed","random","uniform","randint","choice",
"randrange","shuffle","normalvariate","lognormvariate",
"cunifvariate","expovariate","vonmisesvariate","gammavariate",
"stdgamma","gauss","betavariate","paretovariate","weibullvariate",
"getstate","setstate","jumpahead","whseed"]
def _verify(name, expected):
computed = eval(name)
if abs(computed - expected) > 1e-7: