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

Method test_expandtabs

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

Source from the content-addressed store, hash-verified

847 b'\x81\xc1\x81\xc1\x81\xc1')
848
849 def test_expandtabs(self):
850 s = "\tone level of indentation\n\t\ttwo levels of indentation"
851 assert_equal(
852 np.char.expandtabs(s, tabsize=2),
853 " one level of indentation\n two levels of indentation"
854 )
855
856 def test_join(self):
857 seps = np.array(['-', '_'])

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
expandtabsMethod · 0.80

Tested by

no test coverage detected