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

Method test_partial

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

Source from the content-addressed store, hash-verified

833 BOM = b''
834
835 def test_partial(self):
836 self.check_partial(
837 "\x00\xff\u07ff\u0800\uffff\U00010000",
838 [
839 "\x00",
840 "\x00",
841 "\x00\xff",
842 "\x00\xff",
843 "\x00\xff\u07ff",
844 "\x00\xff\u07ff",
845 "\x00\xff\u07ff",
846 "\x00\xff\u07ff\u0800",
847 "\x00\xff\u07ff\u0800",
848 "\x00\xff\u07ff\u0800",
849 "\x00\xff\u07ff\u0800\uffff",
850 "\x00\xff\u07ff\u0800\uffff",
851 "\x00\xff\u07ff\u0800\uffff",
852 "\x00\xff\u07ff\u0800\uffff",
853 "\x00\xff\u07ff\u0800\uffff\U00010000",
854 ]
855 )
856
857 def test_decoder_state(self):
858 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