MCPcopy Create free account
hub / github.com/python/cpython / test_von_mises_large_kappa

Method test_von_mises_large_kappa

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

Source from the content-addressed store, hash-verified

1171 " of range [0, 2*pi]").format(mu, kappa, sample))
1172
1173 def test_von_mises_large_kappa(self):
1174 # Issue #17141: vonmisesvariate() was hang for large kappas
1175 random.vonmisesvariate(0, 1e15)
1176 random.vonmisesvariate(0, 1e100)
1177
1178 def test_gammavariate_errors(self):
1179 # Both alpha and beta must be > 0.0

Callers

nothing calls this directly

Calls 1

vonmisesvariateMethod · 0.80

Tested by

no test coverage detected