Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ get_lock_path
Function
get_lock_path
src/_pytest/pathlib.py:62–63 ·
view source on GitHub ↗
(path: _AnyPurePath)
Source
from the content-addressed store, hash-verified
60
61
62
def
get_lock_path(path: _AnyPurePath) -> _AnyPurePath:
63
return
path.joinpath(
".lock"
)
64
65
66
def
on_rm_rf_error(func, path: str, exc, *, start_path: Path) -> bool:
Callers
4
test_access_denied_during_cleanup
Function · 0.90
test_suppress_error_removing_lock
Function · 0.90
create_cleanup_lock
Function · 0.85
ensure_deletable
Function · 0.85
Calls
no outgoing calls
Tested by
2
test_access_denied_during_cleanup
Function · 0.72
test_suppress_error_removing_lock
Function · 0.72