Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_gh18335
Method
test_gh18335
numpy/f2py/tests/test_callback.py:238–243 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
236
module_name =
"callback2"
237
238
def
test_gh18335(self):
239
def
bar(x):
240
return
x*x
241
242
res = self.module.foo(bar)
243
assert res == 110
Callers
nothing calls this directly
Calls
1
foo
Method · 0.45
Tested by
no test coverage detected