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

Method test_partial

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

Source from the content-addressed store, hash-verified

788 ill_formed_sequence = b"\xdc\x80"
789
790 def test_partial(self):
791 self.check_partial(
792 "\x00\xff\u0100\uffff\U00010000",
793 [
794 "",
795 "\x00",
796 "\x00",
797 "\x00\xff",
798 "\x00\xff",
799 "\x00\xff\u0100",
800 "\x00\xff\u0100",
801 "\x00\xff\u0100\uffff",
802 "\x00\xff\u0100\uffff",
803 "\x00\xff\u0100\uffff",
804 "\x00\xff\u0100\uffff",
805 "\x00\xff\u0100\uffff\U00010000",
806 ]
807 )
808
809 def test_errors(self):
810 tests = [

Callers

nothing calls this directly

Calls 1

check_partialMethod · 0.80

Tested by

no test coverage detected