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

Method test_special_values2

numpy/core/tests/test_umath_complex.py:124–130  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected