Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __str__
Method
__str__
src/_pytest/_code/code.py:1147–1150 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1145
self.reprfileloc.toterminal(tw)
1146
1147
def
__str__(self) -> str:
1148
return
"{}\n{}\n{}"
.format(
1149
"\n"
.join(self.lines), self.reprlocals, self.reprfileloc
1150
)
1151
1152
1153
@attr.s(eq=False, auto_attribs=True)
Callers
nothing calls this directly
Calls
1
format
Method · 0.45
Tested by
no test coverage detected