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

Method reportinfo

src/_pytest/python.py:326–330  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

324 return ".".join(parts)
325
326 def reportinfo(self) -> tuple[os.PathLike[str] | str, int | None, str]:
327 # XXX caching?
328 path, lineno = getfslineno(self.obj)
329 modpath = self.getmodpath()
330 return path, lineno, modpath
331
332
333# As an optimization, these builtin attribute names are pre-ignored when

Callers

nothing calls this directly

Calls 2

getmodpathMethod · 0.95
getfslinenoFunction · 0.90

Tested by

no test coverage detected