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

Function test_signaling_nan_exceptions

numpy/core/tests/test_umath.py:4657–4660  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4655 assert_equal(exp, acc)
4656
4657def test_signaling_nan_exceptions():
4658 with assert_no_warnings():
4659 a = np.ndarray(shape=(), dtype='float32', buffer=b'\x00\xe0\xbf\xff')
4660 np.isnan(a)
4661
4662@pytest.mark.parametrize("arr", [
4663 np.arange(2),

Callers

nothing calls this directly

Calls 1

assert_no_warningsFunction · 0.90

Tested by

no test coverage detected