MCPcopy Index your code
hub / github.com/pytest-dev/pytest / realpath

Method realpath

src/_pytest/_py/path.py:1018–1020  ·  view source on GitHub ↗

Return a new path which contains no symbolic links.

(self)

Source from the content-addressed store, hash-verified

1016 old.chdir()
1017
1018 def realpath(self):
1019 """Return a new path which contains no symbolic links."""
1020 return self.__class__(os.path.realpath(self.strpath))
1021
1022 def atime(self):
1023 """Return last access time of the path."""

Callers 1

test_realpath_fileMethod · 0.80

Calls 1

__class__Method · 0.45

Tested by 1

test_realpath_fileMethod · 0.64