(self)
| 139 | npt.assert_array_almost_equal(x, np.arange(self.ssize).reshape(int(self.ssize/10), 10) + 3) |
| 140 | |
| 141 | def test_inplace_intermediate(self): |
| 142 | # When the return array is also a named intermediate assignment target |
| 143 | logger.info( 'Test in-place named intermediate' ) |
| 144 | y = np.arange(self.ssize) |
| 145 | x = np.empty_like(y) |
| 146 | ne3.NumExpr( 'x = 3.5 * y; x = x - y' )() |
| 147 | npt.assert_array_almost_equal( x, (3.5*y) - y ) |
| 148 | |
| 149 | def test_named_intermediate_magic_output(self): |
| 150 | logger.info( 'Test in-place named intermediate with magic output' ) |
nothing calls this directly
no outgoing calls
no test coverage detected