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

Method tst_allclose

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

Source from the content-addressed store, hash-verified

2439 np.seterr(**self.olderr)
2440
2441 def tst_allclose(self, x, y):
2442 assert_(np.allclose(x, y), "%s and %s not close" % (x, y))
2443
2444 def tst_not_allclose(self, x, y):
2445 assert_(not np.allclose(x, y), "%s and %s shouldn't be close" % (x, y))

Callers 1

test_ip_allcloseMethod · 0.95

Calls 1

assert_Function · 0.90

Tested by

no test coverage detected