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

Method test_partial

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

Source from the content-addressed store, hash-verified

951 b'ABUAFgAXABgAGQAaABsAHAAdAB4AHwBcAH4Afw-')
952
953 def test_partial(self):
954 self.check_partial(
955 'a+-b\x00c\x80d\u0100e\U00010000f',
956 [
957 'a',
958 'a',
959 'a+',
960 'a+-',
961 'a+-b',
962 'a+-b',
963 'a+-b',
964 'a+-b',
965 'a+-b',
966 'a+-b\x00',
967 'a+-b\x00c',
968 'a+-b\x00c',
969 'a+-b\x00c',
970 'a+-b\x00c',
971 'a+-b\x00c',
972 'a+-b\x00c\x80',
973 'a+-b\x00c\x80d',
974 'a+-b\x00c\x80d',
975 'a+-b\x00c\x80d',
976 'a+-b\x00c\x80d',
977 'a+-b\x00c\x80d',
978 'a+-b\x00c\x80d\u0100',
979 'a+-b\x00c\x80d\u0100e',
980 'a+-b\x00c\x80d\u0100e',
981 'a+-b\x00c\x80d\u0100e',
982 'a+-b\x00c\x80d\u0100e',
983 'a+-b\x00c\x80d\u0100e',
984 'a+-b\x00c\x80d\u0100e',
985 'a+-b\x00c\x80d\u0100e',
986 'a+-b\x00c\x80d\u0100e',
987 'a+-b\x00c\x80d\u0100e\U00010000',
988 'a+-b\x00c\x80d\u0100e\U00010000f',
989 ]
990 )
991
992 def test_errors(self):
993 tests = [

Callers

nothing calls this directly

Calls 1

check_partialMethod · 0.80

Tested by

no test coverage detected