Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ test_source_from_lines
Function
test_source_from_lines
testing/code/test_source.py:52–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
51
52
def
test_source_from_lines() -> None:
53
lines = [
"a \n"
,
"b\n"
,
"c"
]
54
source = Source(lines)
55
assert source.lines == [
"a "
,
"b"
,
"c"
]
56
57
58
def
test_source_from_inner_function() -> None:
Callers
nothing calls this directly
Calls
1
Source
Class · 0.90
Tested by
no test coverage detected