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

Method test_encode

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

Source from the content-addressed store, hash-verified

351 assert_(A.decode('unicode-escape')[0] == '\u03a3')
352
353 def test_encode(self):
354 B = self.B.encode('unicode_escape')
355 assert_(B[0][0] == str(' \\u03a3 ').encode('latin1'))
356
357 def test_expandtabs(self):
358 T = self.A.expandtabs()

Callers

nothing calls this directly

Calls 2

assert_Function · 0.90
encodeMethod · 0.80

Tested by

no test coverage detected