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

Method test_partial

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

Source from the content-addressed store, hash-verified

834 BOM = b''
835
836 def test_partial(self):
837 self.check_partial(
838 "\x00\xff\u07ff\u0800\uffff\U00010000",
839 [
840 "\x00",
841 "\x00",
842 "\x00\xff",
843 "\x00\xff",
844 "\x00\xff\u07ff",
845 "\x00\xff\u07ff",
846 "\x00\xff\u07ff",
847 "\x00\xff\u07ff\u0800",
848 "\x00\xff\u07ff\u0800",
849 "\x00\xff\u07ff\u0800",
850 "\x00\xff\u07ff\u0800\uffff",
851 "\x00\xff\u07ff\u0800\uffff",
852 "\x00\xff\u07ff\u0800\uffff",
853 "\x00\xff\u07ff\u0800\uffff",
854 "\x00\xff\u07ff\u0800\uffff\U00010000",
855 ]
856 )
857
858 def test_decoder_state(self):
859 u = "\x00\x7f\x80\xff\u0100\u07ff\u0800\uffff\U0010ffff"

Callers

nothing calls this directly

Calls 1

check_partialMethod · 0.80

Tested by

no test coverage detected