docs(monkeypatch): Fix autodoc reference links

Since #8006 MonkeyPatch is publicly available on pytest.MonkeyPatch.
This commit is contained in:
Tony Narlock 2022-06-01 14:00:27 -05:00
parent 130c954bb1
commit b5e966ad8f
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
How to monkeypatch/mock modules and environments
================================================================
.. currentmodule:: _pytest.monkeypatch
.. currentmodule:: pytest
Sometimes tests need to invoke functionality which depends
on global settings or which invokes code which cannot be easily
@ -436,7 +436,7 @@ separate fixtures for each potential mock and reference them in the needed tests
_ = app.create_connection_string()
.. currentmodule:: _pytest.monkeypatch
.. currentmodule:: pytest
API Reference
-------------