MCPcopy 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
66def test_source_strips() -> None:
67 source = Source("")
68 assert source == Source()
69 assert str(source) == ""
70 assert source.strip() == source
71
72
73def test_source_strip_multiline() -> None:

Callers

nothing calls this directly

Calls 2

stripMethod · 0.95
SourceClass · 0.90

Tested by

no test coverage detected