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

Method test_istitle_unicode

numpy/_core/tests/test_strings.py:1178–1180  ·  view source on GitHub ↗
(self, in_, out, dt)

Source from the content-addressed store, hash-verified

1176 ('\U0001F46F', False),
1177 ])
1178 def test_istitle_unicode(self, in_, out, dt):
1179 in_ = np.array(in_, dtype=dt)
1180 assert_array_equal(np.strings.istitle(in_), out)
1181
1182 @pytest.mark.parametrize("buf,sub,start,end,res", [
1183 ("Ae¢☃€ 😊" * 2, "😊", 0, None, 6),

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
istitleMethod · 0.80

Tested by

no test coverage detected