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

Method test_in_out

numpy/f2py/tests/test_array_from_pyobj.py:374–380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

372
373class TestIntent:
374 def test_in_out(self):
375 assert str(intent.in_.out) == "intent(in,out)"
376 assert intent.in_.c.is_intent("c")
377 assert not intent.in_.c.is_intent_exact("c")
378 assert intent.in_.c.is_intent_exact("c", "in")
379 assert intent.in_.c.is_intent_exact("in", "c")
380 assert not intent.in_.is_intent("c")
381
382
383class TestSharedMemory:

Callers

nothing calls this directly

Calls 2

is_intentMethod · 0.80
is_intent_exactMethod · 0.80

Tested by

no test coverage detected