MCPcopy Index your code
hub / github.com/numpy/numpy / test_vonmises_nan

Method test_vonmises_nan

numpy/random/tests/test_randomstate.py:1284–1287  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1282 assert_array_almost_equal(actual, desired, decimal=8)
1283
1284 def test_vonmises_nan(self):
1285 random.seed(self.seed)
1286 r = random.vonmises(mu=0., kappa=np.nan)
1287 assert_(np.isnan(r))
1288
1289 def test_wald(self):
1290 rng = random.RandomState(self.seed)

Callers

nothing calls this directly

Calls 1

assert_Function · 0.90

Tested by

no test coverage detected