MCPcopy Create free account
hub / github.com/numpy/numpy / runner

Method runner

numpy/f2py/tests/test_callback.py:138–145  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

136 return 42
137
138 def runner(name):
139 try:
140 for j in range(50):
141 r = self.module.t(cb)
142 assert r == 42
143 self.check_function(name)
144 except Exception:
145 errors.append(traceback.format_exc())
146
147 threads = [
148 threading.Thread(target=runner, args=(arg, ))

Callers

nothing calls this directly

Calls 2

check_functionMethod · 0.95
tMethod · 0.80

Tested by

no test coverage detected