(self)
| 69 | npt.assert_array_almost_equal( out, a2*b2 ) |
| 70 | |
| 71 | def test_verify_input(self): |
| 72 | logger.info('Test input with verify=True') |
| 73 | a = np.array([1., 2., 3.]) |
| 74 | b = np.array([4., 5., 6.]) |
| 75 | func = ne3.NumExpr( 'a*b' ) |
| 76 | a = np.arange(self.ssize).astype(a.dtype) |
| 77 | b = np.arange(3.0, self.ssize+3.0).astype(b.dtype) |
| 78 | out = func(verify=True) |
| 79 | npt.assert_array_almost_equal( out, a*b ) |
| 80 | |
| 81 | def test_weakref_expiry(self): |
| 82 | # I have no idea how to turn on gc in unittest. I can't find anything |
nothing calls this directly
no outgoing calls
no test coverage detected