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

Method test_partial

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

Source from the content-addressed store, hash-verified

744 ill_formed_sequence = b"\x80\xdc"
745
746 def test_partial(self):
747 self.check_partial(
748 "\x00\xff\u0100\uffff\U00010000",
749 [
750 "",
751 "\x00",
752 "\x00",
753 "\x00\xff",
754 "\x00\xff",
755 "\x00\xff\u0100",
756 "\x00\xff\u0100",
757 "\x00\xff\u0100\uffff",
758 "\x00\xff\u0100\uffff",
759 "\x00\xff\u0100\uffff",
760 "\x00\xff\u0100\uffff",
761 "\x00\xff\u0100\uffff\U00010000",
762 ]
763 )
764
765 def test_errors(self):
766 tests = [

Callers

nothing calls this directly

Calls 1

check_partialMethod · 0.80

Tested by

no test coverage detected