File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,11 @@ class PredefinedEncodingsTests(unittest.TestCase):
3939 [ "\x7F " , "\x7F " ],
4040 [ "\x80 " , "\x80 " ],
4141 [ "\xD5 " , "\xD5 " ],
42- [ "1" , "1" ],
42+ [ "\xFE " , "\xFE " ],
43+ [ "\xFF " , "\xFF " ],
44+ [ "a\x02 " , "\x03 a\x02 " ],
45+ [ "a\x03 " , "\x03 a" ],
46+ [ "a\xFF " , "\xFF a" ],
4347 [ "\x05 \x04 \x03 \x02 \x01 " , "\x06 \x05 \x04 \x03 \x02 \x01 " ],
4448 [ "12345" , "51234" ],
4549 [ "12345\x00 \x04 \x03 \x02 \x01 " , "\x06 12345\x05 \x04 \x03 \x02 \x01 " ],
Original file line number Diff line number Diff line change @@ -39,7 +39,11 @@ class PredefinedEncodingsTests(unittest.TestCase):
3939 [ b"\x7F " , b"\x7F " ],
4040 [ b"\x80 " , b"\x80 " ],
4141 [ b"\xD5 " , b"\xD5 " ],
42- [ b"1" , b"1" ],
42+ [ b"\xFE " , b"\xFE " ],
43+ [ b"\xFF " , b"\xFF " ],
44+ [ b"a\x02 " , b"\x03 a\x02 " ],
45+ [ b"a\x03 " , b"\x03 a" ],
46+ [ b"a\xFF " , b"\xFF a" ],
4347 [ b"\x05 \x04 \x03 \x02 \x01 " , b"\x06 \x05 \x04 \x03 \x02 \x01 " ],
4448 [ b"12345" , b"51234" ],
4549 [ b"12345\x00 \x04 \x03 \x02 \x01 " , b"\x06 12345\x05 \x04 \x03 \x02 \x01 " ],
You can’t perform that action at this time.
0 commit comments