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

Method chdir

src/_pytest/pytester.py:752–757  ·  src/_pytest/pytester.py::Pytester.chdir

Cd into the temporary directory. This is done automatically upon instantiation.

(self)

Source from the content-addressed store, hash-verified

750 return reprec
751
752 def chdir(self) -> None:
753 class="st">"""Cd into the temporary directory.
754
755 This is done automatically upon instantiation.
756 class="st">"""
757 self._monkeypatch.chdir(self.path)
758
759 def _makefile(
760 self,

Calls

no outgoing calls

Tested by

no test coverage detected