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 random.random is a uniform distributed generator. 
docstr_tok: ["Check","random.random","is","a","uniform","distributed","generator","."]
code: def test_random(self):
      """Check random.random is a uniform distributed generator."""
      self.run_test(
          """
          def random(n):
              from random import random
              s = sum(random() for x in range(n))
              return abs(s / n - 0.5) < .05""",
          10**5,
          random=[int],
      )
  
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 1 for calling the TestRandom obj's underlying member method code with example usage: obj.test_random() without return types