MCPcopy Index your code
hub / github.com/python/cpython / test_uid_hash

Method test_uid_hash

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

Source from the content-addressed store, hash-verified

620 self.assertNotEqual(UID(1), "not uid")
621
622 def test_uid_hash(self):
623 self.assertEqual(hash(UID(1)), hash(UID(1)))
624
625 def test_uid_repr(self):
626 self.assertEqual(repr(UID(1)), "UID(1)")

Callers

nothing calls this directly

Calls 2

UIDClass · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected