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

Method test_intent_inout

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

Source from the content-addressed store, hash-verified

90 assert r == expected, s
91
92 def test_intent_inout(self):
93 for s in self._get_input(intent="inout"):
94 rest = self._sint(s, start=4)
95 r = self.module.test_inout_bytes4(s)
96 expected = self._sint(s, end=4)
97 assert r == expected
98
99 # check that the rest of input string is preserved
100 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