Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ test_code_fullsource
Function
test_code_fullsource
testing/code/test_code.py:43–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
42
43
def
test_code_fullsource() -> None:
44
code = Code.from_function(x)
45
full = code.fullsource
46
assert
"test_code_fullsource()"
in str(full)
47
48
49
def
test_code_source() -> None:
Callers
nothing calls this directly
Calls
1
from_function
Method · 0.80
Tested by
no test coverage detected