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

Method __hash__

Lib/unittest/case.py:541–542  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

539 return self._testMethodName == other._testMethodName
540
541 def __hash__(self):
542 return hash((type(self), self._testMethodName))
543
544 def __str__(self):
545 return "%s (%s.%s)" % (self._testMethodName, strclass(self.__class__), self._testMethodName)

Callers 1

mock.pyFile · 0.45

Calls 1

hashFunction · 0.85

Tested by

no test coverage detected