MCPcopy Create free account
hub / github.com/numpy/numpy / test_expandtabs

Method test_expandtabs

numpy/core/tests/test_defchararray.py:357–359  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

355 assert_(B[0][0] == str(' \\u03a3 ').encode('latin1'))
356
357 def test_expandtabs(self):
358 T = self.A.expandtabs()
359 assert_(T[2, 0] == b'123 345 \0')
360
361 def test_join(self):
362 # NOTE: list(b'123') == [49, 50, 51]

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
expandtabsMethod · 0.80

Tested by

no test coverage detected