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

Method dirname

src/_pytest/_py/path.py:348–350  ·  view source on GitHub ↗

Dirname part of path.

(self)

Source from the content-addressed store, hash-verified

346
347 @property
348 def dirname(self):
349 """Dirname part of path."""
350 return self._getbyspec("dirname")[0]
351
352 @property
353 def purebasename(self):

Callers 9

pytest_sessionfinishMethod · 0.80
__call__Method · 0.80
__init__Method · 0.80
search_pypathFunction · 0.80
_iter_rewritable_modulesFunction · 0.80
test_failures.pyFile · 0.80
conftest.pyFile · 0.80

Calls 1

_getbyspecMethod · 0.95