MCPcopy 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

560if 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
566else:

Callers 1

import_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected