Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __str__
Method
__str__
Lib/unittest/case.py:537–538 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
535
return
hash((type(self), self._testMethodName))
536
537
def
__str__(self):
538
return
"%s (%s.%s)"
% (self._testMethodName, strclass(self.__class__), self._testMethodName)
539
540
def
__repr__(self):
541
return
"<%s testMethod=%s>"
% \
Callers
1
mock.py
File · 0.45
Calls
1
strclass
Function · 0.85
Tested by
no test coverage detected