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

Method basename

src/_pytest/_py/path.py:343–345  ·  view source on GitHub ↗

Basename part of path.

(self)

Source from the content-addressed store, hash-verified

341
342 @property
343 def basename(self):
344 """Basename part of path."""
345 return self._getbyspec("basename")[0]
346
347 @property
348 def dirname(self):

Callers

nothing calls this directly

Calls 1

_getbyspecMethod · 0.95

Tested by

no test coverage detected