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

Method tst_none_isclose

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

Source from the content-addressed store, hash-verified

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"
2577 assert_(not np.any(np.isclose(x, y)), msg % (x, y))
2578
2579 def tst_isclose_allclose(self, x, y):
2580 msg = "isclose.all() and allclose aren't same for %s and %s"

Callers 1

test_ip_none_iscloseMethod · 0.95

Calls 2

assert_Function · 0.90
anyMethod · 0.45

Tested by

no test coverage detected