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

Method test_len

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

Source from the content-addressed store, hash-verified

102 assert x == "def f(x):"
103
104 def test_len(self) -> None:
105 assert len(self.source) == 4
106
107 def test_iter(self) -> None:
108 values = [x for x in self.source]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected