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

Method test_intent_inout

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

Source from the content-addressed store, hash-verified

92 assert r == expected, s
93
94 def test_intent_inout(self):
95 for s in self._get_input(intent="inout"):
96 rest = self._sint(s, start=4)
97 r = self.module.test_inout_bytes4(s)
98 expected = self._sint(s, end=4)
99 assert r == expected
100
101 # check that the rest of input string is preserved
102 assert rest == self._sint(s, start=4)

Callers

nothing calls this directly

Calls 2

_get_inputMethod · 0.95
_sintMethod · 0.95

Tested by

no test coverage detected