

def test_zeroinputs(self):
    g = random.Random()
    xx = [g.random() for i in xrange(50)]
    x = [0.0]
    xx = i.__add__(x.__mul__(5))
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.uniform(1, 10)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.paretovariate(1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.expovariate(1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.weibullvariate(1.0, 1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.normalvariate(0.0, 1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.gauss(0.0, 1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.lognormvariate(0.0, 1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.vonmisesvariate(0.0, 1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.gammavariate(0.01, 1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.gammavariate(1.0, 1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.gammavariate(200.0, 1.0)
    x = xx[:]
    g.random = getattr(x, 'pop')
    g.betavariate(3.0, 3.0)
    if hasattr(g, 'triangular'):
        x = xx[:]
        g.random = getattr(x, 'pop')
        g.triangular(0.0, 1.0, (1.0 / 3.0))

dataset/ETHPy150Open anandology/pyjamas/examples/libtest/RandomModuleTest.py RandomModuleTest.test_zeroinputs/VarMisuse@43/46 `xx`->`i`