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

Method fspath

src/_pytest/reports.py:163–165  ·  view source on GitHub ↗

The path portion of the reported node, as a string.

(self)

Source from the content-addressed store, hash-verified

161
162 @property
163 def fspath(self) -> str:
164 """The path portion of the reported node, as a string."""
165 return self.nodeid.split("::")[0]
166
167 @property
168 def count_towards_summary(self) -> bool:

Callers 15

runMethod · 0.80
from_item_and_callMethod · 0.80
_report_to_jsonFunction · 0.80
toterminalMethod · 0.80
norm_sepFunction · 0.80
__init__Method · 0.80
__div__Method · 0.80
__eq__Method · 0.80
__lt__Method · 0.80
__gt__Method · 0.80
samefileMethod · 0.80

Calls

no outgoing calls

Tested by 3

runMethod · 0.64
test_func_reportinfoMethod · 0.64
test_class_reportinfoMethod · 0.64