MCPcopy
hub / github.com/pytest-dev/pytest / test_source_strips

Function test_source_strips

testing/code/test_source.py:63–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def test_source_strips() -> None:
64 source = Source("")
65 assert source == Source()
66 assert str(source) == ""
67 assert source.strip() == source
68
69
70def test_source_strip_multiline() -> None:

Callers

nothing calls this directly

Calls 2

stripMethod · 0.95
SourceClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…