Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ func
Function
func
testing/code/test_code.py:58–59 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
56
57
def
test_frame_getsourcelineno_myself() -> None:
58
def
func() -> FrameType:
59
return
sys._getframe(0)
60
61
f = Frame(func())
62
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