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

Method test_copy_magic

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

Source from the content-addressed store, hash-verified

347 npt.assert_array_equal(x, y)
348
349 def test_copy_magic(self):
350 logger.info( 'Test copy evaluate with magic output' )
351 x = np.arange(self.ssize)
352 ne3.evaluate('y_magic=x')
353 npt.assert_array_equal(x, locals()['y_magic'] )
354
355 def test_rational(self):
356 logger.info( 'Test rational evaluation' )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected