mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
GH-100234: Set a default value for random.expovariate() (GH-100235)
This commit is contained in:
parent
8356c14b4f
commit
b430399d41
4 changed files with 8 additions and 2 deletions
|
@ -988,6 +988,7 @@ class TestDistributions(unittest.TestCase):
|
|||
g.random = x[:].pop; g.uniform(1,10)
|
||||
g.random = x[:].pop; g.paretovariate(1.0)
|
||||
g.random = x[:].pop; g.expovariate(1.0)
|
||||
g.random = x[:].pop; g.expovariate()
|
||||
g.random = x[:].pop; g.weibullvariate(1.0, 1.0)
|
||||
g.random = x[:].pop; g.vonmisesvariate(1.0, 1.0)
|
||||
g.random = x[:].pop; g.normalvariate(0.0, 1.0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue