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

Method test_partial

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

Source from the content-addressed store, hash-verified

950 b'ABUAFgAXABgAGQAaABsAHAAdAB4AHwBcAH4Afw-')
951
952 def test_partial(self):
953 self.check_partial(
954 'a+-b\x00c\x80d\u0100e\U00010000f',
955 [
956 'a',
957 'a',
958 'a+',
959 'a+-',
960 'a+-b',
961 'a+-b',
962 'a+-b',
963 'a+-b',
964 'a+-b',
965 'a+-b\x00',
966 'a+-b\x00c',
967 'a+-b\x00c',
968 'a+-b\x00c',
969 'a+-b\x00c',
970 'a+-b\x00c',
971 'a+-b\x00c\x80',
972 'a+-b\x00c\x80d',
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\u0100',
978 'a+-b\x00c\x80d\u0100e',
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\U00010000',
987 'a+-b\x00c\x80d\u0100e\U00010000f',
988 ]
989 )
990
991 def test_errors(self):
992 tests = [

Callers

nothing calls this directly

Calls 1

check_partialMethod · 0.80

Tested by

no test coverage detected