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

Method test_expandtabs

numpy/_core/tests/test_strings.py:1199–1202  ·  view source on GitHub ↗
(self, buf, res, dt)

Source from the content-addressed store, hash-verified

1197 ("\t\U0001044E", " \U0001044E"),
1198 ])
1199 def test_expandtabs(self, buf, res, dt):
1200 buf = np.array(buf, dtype=dt)
1201 res = np.array(res, dtype=dt)
1202 assert_array_equal(np.strings.expandtabs(buf), res)
1203
1204 @pytest.mark.parametrize("buf,width,fillchar,res", [
1205 ('x', 2, '\U0001044E', 'x\U0001044E'),

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
expandtabsMethod · 0.80

Tested by

no test coverage detected