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

Method test_true_div

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

Source from the content-addressed store, hash-verified

208 npt.assert_array_equal(y, intSize//x)
209
210 def test_true_div(self):
211 logger.info( 'Test true div' )
212 x = np.arange(self.ssize, dtype='int64')
213 intSize = np.int64(self.ssize)
214 npt.assert_array_equal(ne3.NumExpr('intSize/x')(), intSize/x)
215
216 def test_complex64(self):
217 logger.info( 'Test complex64 ' )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected