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

Method test_uid_index

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

Source from the content-addressed store, hash-verified

564 self.assertEqual(repr(UID(1)), "UID(1)")
565
566 def test_uid_index(self):
567 self.assertEqual(operator.index(UID(1)), 1)
568
569 def test_uid_pickle(self):
570 for proto in range(pickle.HIGHEST_PROTOCOL + 1):

Callers

nothing calls this directly

Calls 3

UIDClass · 0.90
assertEqualMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected