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

Method test_nan_items

numpy/testing/tests/test_utils.py:302–306  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 self._assert_func = assert_equal
301
302 def test_nan_items(self):
303 self._assert_func(np.nan, np.nan)
304 self._assert_func([np.nan], [np.nan])
305 self._test_not_equal(np.nan, [np.nan])
306 self._test_not_equal(np.nan, 1)
307
308 def test_inf_items(self):
309 self._assert_func(np.inf, np.inf)

Callers

nothing calls this directly

Calls 1

_test_not_equalMethod · 0.80

Tested by

no test coverage detected