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

Method test_partition

numpy/_core/tests/test_defchararray.py:861–863  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

859 ['h-e-l-l-o', 'h_e_l_l_o'])
860
861 def test_partition(self):
862 assert_equal(np.char.partition('This string', ' '),
863 ['This', ' ', 'string'])
864
865 def test_rpartition(self):
866 assert_equal(np.char.rpartition('This string here', ' '),

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
partitionMethod · 0.45

Tested by

no test coverage detected