MCPcopy Index your code
hub / github.com/numpy/numpy / test_intent_in

Method test_intent_in

numpy/f2py/tests/test_string.py:87–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 yield np.array(b"12345")
86
87 def test_intent_in(self):
88 for s in self._get_input():
89 r = self.module.test_in_bytes4(s)
90 # also checks that s is not changed inplace
91 expected = self._sint(s, end=4)
92 assert r == expected, s
93
94 def test_intent_inout(self):
95 for s in self._get_input(intent="inout"):

Callers

nothing calls this directly

Calls 2

_get_inputMethod · 0.95
_sintMethod · 0.95

Tested by

no test coverage detected