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

Method fullsource

src/_pytest/_code/code.py:104–107  ·  view source on GitHub ↗

Return a _pytest._code.Source object for the full source file of the code.

(self)

Source from the content-addressed store, hash-verified

102
103 @property
104 def fullsource(self) -> Optional["Source"]:
105 """Return a _pytest._code.Source object for the full source file of the code."""
106 full, _ = findsource(self.raw)
107 return full
108
109 def source(self) -> "Source":
110 """Return a _pytest._code.Source object for the code object's source only."""

Callers

nothing calls this directly

Calls 1

findsourceFunction · 0.90

Tested by

no test coverage detected