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

Function test

numexpr3/__init__.py:36–47  ·  view source on GitHub ↗

Run the test suite. This function is a stub that redirects to `numexpr3.tests.test_numexpr.test()`

(verbosity: int=1)

Source from the content-addressed store, hash-verified

34from .interpreter import MAX_ARGS, set_tempsize
35
36def test(verbosity: int=1) -> unittest.TextTestResult:
37 '''
38 Run the test suite.
39
40 This function is a stub that redirects to `numexpr3.tests.test_numexpr.test()`
41 '''
42 try:
43 from .tests import test
44 except ImportError as e:
45 raise ImportError('Could not import `numexpr3.tests`, was it included with the distribution?') from e
46 else:
47 return test(verbosity=verbosity)
48
49from .utils import get_ncores, get_nthreads, set_nthreads, print_info, str_info
50

Callers

nothing calls this directly

Calls 1

testFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…