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

Method setUp

numexpr3/tests/test_numexpr.py:299–304  ·  view source on GitHub ↗
(self, N_threads=-1, ssize=LARGE_SIZE)

Source from the content-addressed store, hash-verified

297 '''Testing with maximum threads and large arrays for parallel operation'''
298
299 def setUp(self, N_threads=-1, ssize=LARGE_SIZE):
300 if N_threads < 0:
301 N_threads = ne3.get_ncores()
302 logger.info( "**Run NumExpr() tests with {} thread(s) over {} element arrays**".format(N_threads, ssize) )
303 ne3.set_nthreads(N_threads)
304 self.ssize = ssize
305
306class test_evaluate(unittest.TestCase):
307

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected