Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ _is_same
Function
_is_same
src/_pytest/pathlib.py:562–563 ·
view source on GitHub ↗
(f1: str, f2: str)
Source
from the content-addressed store, hash-verified
560
if
sys.platform.startswith(
"win"
):
561
562
def
_is_same(f1: str, f2: str) -> bool:
563
return
Path(f1) == Path(f2) or os.path.samefile(f1, f2)
564
565
566
else
:
Callers
1
import_path
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected