class_docstr: Check implementation for usual random functions.
  
  Functions are:
  - random.random
  - random.gauss
  - random.uniform
  - random.expovariate
  - random.randrange
  - random.randint
  - random.sample
  - random.choice
  - random.seed
class_docstr_tok: ["Check","implementation","for","usual","random","functions",".","Functions","are",":","-","random.random","-","random.gauss","-","random.uniform","-","random.expovariate","-","random.randrange","-","random.randint","-","random.sample","-","random.choice","-","random.seed"]
docstr: Check expovariate distribution. 
docstr_tok: ["Check","expovariate","distribution","."]
code: def test_expovariate(self):
      """Check expovariate distribution."""
      self.run_test(
          """
          def expovariate(n, l):
              from random import expovariate
              s = sum(expovariate(l) for x in range(n))
              return abs(s / n - 1 / l) < .05""",
          10**6,
          5.0,
          expovariate=[int, float],
      )
  
file_path: pythran/pythran/tests/test_random.py
imports: from pythran.tests import TestEnv
  from unittest import skipIf
  import sys
label_desc: Use image node_id 4 for calling the TestRandom obj's underlying member method code with example usage: obj.test_expovariate() without return types