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

Method test_uid_repr

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

Source from the content-addressed store, hash-verified

561 self.assertEqual(hash(UID(1)), hash(UID(1)))
562
563 def test_uid_repr(self):
564 self.assertEqual(repr(UID(1)), "UID(1)")
565
566 def test_uid_index(self):
567 self.assertEqual(operator.index(UID(1)), 1)

Callers

nothing calls this directly

Calls 3

UIDClass · 0.90
reprFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected