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

Method fspath

src/_pytest/reports.py:162–164  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

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

Callers 13

runMethod · 0.80
from_item_and_callMethod · 0.80
_report_to_jsonFunction · 0.80
toterminalMethod · 0.80
locationMethod · 0.80
_write_pycFunction · 0.80
cutMethod · 0.80
_prepareconfigFunction · 0.80
parseMethod · 0.80
__init__Method · 0.80
test_func_reportinfoMethod · 0.80

Calls

no outgoing calls

Tested by 4

runMethod · 0.64
__init__Method · 0.64
test_func_reportinfoMethod · 0.64
test_class_reportinfoMethod · 0.64