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

Class BadCmp

Lib/test/test_deque.py:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 yield 1
17
18class BadCmp:
19 def __eq__(self, other):
20 raise RuntimeError
21
22class MutateCmp:
23 def __init__(self, deque, result):

Callers 3

test_containsMethod · 0.70
test_indexMethod · 0.70
test_removeMethod · 0.70

Calls

no outgoing calls

Tested by 3

test_containsMethod · 0.56
test_indexMethod · 0.56
test_removeMethod · 0.56