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

Method test_modified_uid_huge

Lib/test/test_plistlib.py:849–853  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

847 plistlib.dumps(neg_uid, fmt=plistlib.FMT_BINARY)
848
849 def test_modified_uid_huge(self):
850 huge_uid = UID(1)
851 huge_uid.data = 2 ** 64 # dodge the size check in the constructor
852 with self.assertRaises(OverflowError):
853 plistlib.dumps(huge_uid, fmt=plistlib.FMT_BINARY)
854
855 @unittest.expectedFailure # TODO: RUSTPYTHON
856 def test_xml_plist_with_entity_decl(self):

Callers

nothing calls this directly

Calls 3

UIDClass · 0.90
assertRaisesMethod · 0.45
dumpsMethod · 0.45

Tested by

no test coverage detected