(self)
| 1093 | -0x123456789abcdf0) |
| 1094 | |
| 1095 | def test_unsupported(self): |
| 1096 | unsupported = [*range(1, 8), *range(10, 15), |
| 1097 | 0x20, 0x21, *range(0x24, 0x33), *range(0x34, 0x40)] |
| 1098 | for i in [0x70, 0x90, 0xb0, 0xc0, 0xe0, 0xf0]: |
| 1099 | unsupported.extend(i + j for j in range(16)) |
| 1100 | for token in unsupported: |
| 1101 | with self.subTest(f'token {token:02x}'): |
| 1102 | with self.assertRaises(plistlib.InvalidFileException): |
| 1103 | self.decode(bytes([token]) + b'\x00'*16) |
| 1104 | |
| 1105 | def test_invalid_binary(self): |
| 1106 | for name, data in INVALID_BINARY_PLISTS: |
nothing calls this directly
no test coverage detected