(self)
| 923 | plistlib.dumps(neg_uid, fmt=plistlib.FMT_BINARY) |
| 924 | |
| 925 | def test_modified_uid_huge(self): |
| 926 | huge_uid = UID(1) |
| 927 | huge_uid.data = 2 ** 64 # dodge the size check in the constructor |
| 928 | with self.assertRaises(OverflowError): |
| 929 | plistlib.dumps(huge_uid, fmt=plistlib.FMT_BINARY) |
| 930 | |
| 931 | def test_xml_plist_with_entity_decl(self): |
| 932 | with self.assertRaisesRegex(plistlib.InvalidFileException, |
nothing calls this directly
no test coverage detected