MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_simple

Method test_simple

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

Source from the content-addressed store, hash-verified

579 )
580
581 def test_simple(self):
582 self.assertEqual("\U00010203".encode(self.encoding), b"\x03\x02\x01\x00")
583
584 def test_errors(self):
585 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