docs(monkeypatch): Fix autodoc reference links (#10013)

Close #10014
This commit is contained in:
Tony Narlock 2022-06-02 08:16:59 -05:00
parent 4e7a69d45a
commit 6956a00056
2 changed files with 3 additions and 2 deletions

View File

@ -302,6 +302,7 @@ Tom Dalton
Tom Viner
Tomáš Gavenčiak
Tomer Keren
Tony Narlock
Tor Colvin
Trevor Bekolay
Tyler Goodlet

View File

@ -2,7 +2,7 @@
Monkeypatching/mocking 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
@ -434,7 +434,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
-------------