Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ func
Function
func
testing/code/test_code.py:61–62 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
60
def
test_frame_getsourcelineno_myself() -> None:
61
def
func() -> FrameType:
62
return
sys._getframe(0)
63
64
f = Frame(func())
65
source, lineno = f.code.fullsource, f.lineno
Callers
2
test_frame_getsourcelineno_myself
Function · 0.70
test_getstatement_empty_fullsource
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected