Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ test_source_strips
Function
test_source_strips
testing/code/test_source.py:66–70 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
64
65
66
def
test_source_strips() -> None:
67
source = Source(
""
)
68
assert source == Source()
69
assert str(source) ==
""
70
assert source.strip() == source
71
72
73
def
test_source_strip_multiline() -> None:
Callers
nothing calls this directly
Calls
2
strip
Method · 0.95
Source
Class · 0.90
Tested by
no test coverage detected