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

Method test_decoder_state

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

Source from the content-addressed store, hash-verified

856 )
857
858 def test_decoder_state(self):
859 u = "\x00\x7f\x80\xff\u0100\u07ff\u0800\uffff\U0010ffff"
860 self.check_state_handling_decode(self.encoding,
861 u, u.encode(self.encoding))
862
863 def test_decode_error(self):
864 for data, error_handler, expected in (

Callers

nothing calls this directly

Calls 2

encodeMethod · 0.45

Tested by

no test coverage detected