MCPcopy Create free account
hub / github.com/numpy/numpy / assert_hypot_isnan

Function assert_hypot_isnan

numpy/core/tests/test_umath.py:2115–2118  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

2113
2114
2115def assert_hypot_isnan(x, y):
2116 with np.errstate(invalid='ignore'):
2117 assert_(np.isnan(ncu.hypot(x, y)),
2118 "hypot(%s, %s) is %s, not nan" % (x, y, ncu.hypot(x, y)))
2119
2120
2121def assert_hypot_isinf(x, y):

Callers 1

test_nan_outputsMethod · 0.85

Calls 1

assert_Function · 0.90

Tested by

no test coverage detected