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

Method test_c_inout_23seq

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

Source from the content-addressed store, hash-verified

461 "intent(inout) should have failed on improper array")
462
463 def test_c_inout_23seq(self):
464 obj = np.array(self.num23seq, dtype=self.type.dtype)
465 shape = (len(self.num23seq), len(self.num23seq[0]))
466 a = self.array(shape, intent.in_.c.inout, obj)
467 assert a.has_shared_memory()
468
469 def test_in_copy_from_2casttype(self):
470 for t in self.type.cast_types():

Callers

nothing calls this directly

Calls 1

has_shared_memoryMethod · 0.80

Tested by

no test coverage detected