Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ unexpected
Method
unexpected
Lib/test/test_compare.py:101–102 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
99
for
name, func in ops:
100
with
self.subTest(name):
101
def
unexpected(*args):
102
self.fail(
'Unexpected operator method called'
)
103
class
C:
104
__ne__ = unexpected
105
for
other, _ in ops:
Callers
2
parse_args
Function · 0.80
main
Function · 0.80
Calls
1
fail
Method · 0.45
Tested by
no test coverage detected