MCPcopy 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_argsFunction · 0.80
mainFunction · 0.80

Calls 1

failMethod · 0.45

Tested by

no test coverage detected