MCPcopy Index your code
hub / github.com/python/cpython / test_simple

Method test_simple

Lib/test/test_codecs.py:582–583  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

580 )
581
582 def test_simple(self):
583 self.assertEqual("\U00010203".encode(self.encoding), b"\x03\x02\x01\x00")
584
585 def test_errors(self):
586 self.assertRaises(UnicodeDecodeError, codecs.utf_32_le_decode,

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected