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

Method tst_all_isclose

numpy/core/tests/test_numeric.py:2572–2573  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

2570 assert_array_equal(np.isclose(x, y), result)
2571
2572 def tst_all_isclose(self, x, y):
2573 assert_(np.all(np.isclose(x, y)), "%s and %s not close" % (x, y))
2574
2575 def tst_none_isclose(self, x, y):
2576 msg = "%s and %s shouldn't be close"

Callers 1

test_ip_all_iscloseMethod · 0.95

Calls 2

assert_Function · 0.90
allMethod · 0.45

Tested by

no test coverage detected