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

Method test_special_values2

numpy/_core/tests/test_umath_complex.py:129–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127 # TODO This can be xfail when the generator functions are got rid of.
128 @pytest.mark.skip(reason="cexp(nan + 0I) is wrong on most platforms")
129 def test_special_values2(self):
130 # XXX: most implementations get it wrong here (including glibc <= 2.10)
131 # cexp(nan + 0i) is nan + 0i
132 check = check_complex_value
133 f = np.exp
134
135 check(f, np.nan, 0, np.nan, 0)
136
137class TestClog:
138 def test_simple(self):

Callers

nothing calls this directly

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected