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

Method test_uid_repr

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

Source from the content-addressed store, hash-verified

623 self.assertEqual(hash(UID(1)), hash(UID(1)))
624
625 def test_uid_repr(self):
626 self.assertEqual(repr(UID(1)), "UID(1)")
627
628 def test_uid_index(self):
629 self.assertEqual(operator.index(UID(1)), 1)

Callers

nothing calls this directly

Calls 2

UIDClass · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected