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

Method test_istitle

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

Source from the content-addressed store, hash-verified

351 ('NOT', False),
352 ])
353 def test_istitle(self, in_, out, dt):
354 in_ = np.array(in_, dtype=dt)
355 assert_array_equal(np.strings.istitle(in_), out)
356
357 @pytest.mark.parametrize("in_,out", [
358 ("", 0),

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
istitleMethod · 0.80

Tested by

no test coverage detected