Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_sessionfinish
Method · 0.80
__call__
Method · 0.80
__init__
Method · 0.80
search_pypath
Function · 0.80
_early_rewrite_bailout
Method · 0.80
_iter_rewritable_modules
Function · 0.80
test_failures.py
File · 0.80
conftest.py
File · 0.80
test_log_file_cli_subdirectories_are_successfully_created
Function · 0.80
Calls
1
_getbyspec
Method · 0.95
Tested by
1
test_log_file_cli_subdirectories_are_successfully_created
Function · 0.64