MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_getline

Method test_getline

testing/code/test_source.py:100–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 self.source[::2]
99
100 def test_getline(self) -> None:
101 x = self.source[0]
102 assert x == "def f(x):"
103
104 def test_len(self) -> None:
105 assert len(self.source) == 4

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected