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

Class C

Lib/test/test_dict.py:756–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754
755 def test_errors_in_view_containment_check(self):
756 class C:
757 def __eq__(self, other):
758 raise RuntimeError
759
760 d1 = {1: C()}
761 d2 = {1: C()}

Calls

no outgoing calls