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

Method test_uid_eq

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

Source from the content-addressed store, hash-verified

553 self.assertEqual(uid.data, 1)
554
555 def test_uid_eq(self):
556 self.assertEqual(UID(1), UID(1))
557 self.assertNotEqual(UID(1), UID(2))
558 self.assertNotEqual(UID(1), "not uid")
559
560 def test_uid_hash(self):
561 self.assertEqual(hash(UID(1)), hash(UID(1)))

Callers

nothing calls this directly

Calls 3

UIDClass · 0.90
assertNotEqualMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected