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

Method foo

numpy/f2py/tests/test_callback.py:226–227  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

224
225 def test_gh18335(self):
226 def foo(x):
227 x[0] += 1
228
229 r = self.module.gh18335(foo)
230 assert r == 123 + 1

Callers 13

test_gh18335Method · 0.45
test_inoutMethod · 0.45
test_negboundMethod · 0.45
test_allMethod · 0.45
test_encoding_commentMethod · 0.45
test_ftypeMethod · 0.45
test_constant_bothMethod · 0.45
test_quoted_characterMethod · 0.45
test_multilineMethod · 0.45
test_callstatementMethod · 0.45
test_f2py_init_compileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected