(self)
| 465 | self.assertRaises(TypeError, plistlib.dumps, pl, fmt=fmt) |
| 466 | |
| 467 | def test_invalid_uid(self): |
| 468 | with self.assertRaises(TypeError): |
| 469 | UID("not an int") |
| 470 | with self.assertRaises(ValueError): |
| 471 | UID(2 ** 64) |
| 472 | with self.assertRaises(ValueError): |
| 473 | UID(-19) |
| 474 | |
| 475 | def test_int(self): |
| 476 | for pl in [0, 2**8-1, 2**8, 2**16-1, 2**16, 2**32-1, 2**32, |
nothing calls this directly
no test coverage detected