MCPcopy Index your code
hub / github.com/python/cpython / test_mu_sigma_default_args

Method test_mu_sigma_default_args

Lib/test/test_random.py:596–598  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

594 self.assertRaises(TypeError, self.gen.randbytes, 1.0)
595
596 def test_mu_sigma_default_args(self):
597 self.assertIsInstance(self.gen.normalvariate(), float)
598 self.assertIsInstance(self.gen.gauss(), float)
599
600
601try:

Callers

nothing calls this directly

Calls 3

assertIsInstanceMethod · 0.80
normalvariateMethod · 0.80
gaussMethod · 0.80

Tested by

no test coverage detected