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

Method __hash__

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

Source from the content-addressed store, hash-verified

532 return self._testMethodName == other._testMethodName
533
534 def __hash__(self):
535 return hash((type(self), self._testMethodName))
536
537 def __str__(self):
538 return "%s (%s.%s)" % (self._testMethodName, strclass(self.__class__), self._testMethodName)

Callers 1

mock.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected