MCPcopy Create free account
hub / github.com/pydata/numexpr / test_copy_assign

Method test_copy_assign

numexpr3/tests/test_numexpr.py:111–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109 npt.assert_array_almost_equal(x, out)
110
111 def test_copy_assign(self):
112 logger.info( 'Test copy assignment' )
113 x = np.arange(self.ssize)
114 ne3.NumExpr('out=x')()
115 npt.assert_array_almost_equal(x, locals()['out'] )
116
117 def test_rational_func(self):
118 logger.info( 'Test rational func' )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected