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

Function test_source_from_lines

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

Source from the content-addressed store, hash-verified

47
48
49def test_source_from_lines() -> None:
50 lines = ["a \n", "b\n", "c"]
51 source = Source(lines)
52 assert source.lines == ["a ", "b", "c"]
53
54
55def test_source_from_inner_function() -> None:

Callers

nothing calls this directly

Calls 1

SourceClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…