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

Method test_intent_in

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

Source from the content-addressed store, hash-verified

83 yield np.array(b"12345")
84
85 def test_intent_in(self):
86 for s in self._get_input():
87 r = self.module.test_in_bytes4(s)
88 # also checks that s is not changed inplace
89 expected = self._sint(s, end=4)
90 assert r == expected, s
91
92 def test_intent_inout(self):
93 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