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

Function _is_same

src/_pytest/pathlib.py:752–753  ·  src/_pytest/pathlib.py::_is_same
(f1: str, f2: str)

Source from the content-addressed store, hash-verified

750if sys.platform.startswith(class="st">"win"):
751
752 def _is_same(f1: str, f2: str) -> bool:
753 return Path(f1) == Path(f2) or os.path.samefile(f1, f2)
754
755else:
756

Callers 1

import_pathFunction · 0.85

Calls 1

samefileMethod · 0.80

Tested by

no test coverage detected