MCPcopy Create free account
hub / github.com/pytest-dev/pytest / monkeypatch

Method monkeypatch

src/_pytest/legacypath.py:80–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78
79 @property
80 def monkeypatch(self) -> MonkeyPatch:
81 return self._pytester._monkeypatch
82
83 def make_hook_recorder(self, pluginmanager) -> HookRecorder:
84 """See :meth:`Pytester.make_hook_recorder`."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected