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

Method test_encode

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

Source from the content-addressed store, hash-verified

417 assert_(A.decode('unicode-escape')[0] == '\u03a3')
418
419 def test_encode(self):
420 B = self.B().encode('unicode_escape')
421 assert_(B[0][0] == ' \\u03a3 '.encode('latin1'))
422
423 def test_expandtabs(self):
424 T = self.A().expandtabs()

Callers

nothing calls this directly

Calls 3

BMethod · 0.95
assert_Function · 0.90
encodeMethod · 0.80

Tested by

no test coverage detected