docs(monkeypatch): Fix autodoc reference links
Since #8006 MonkeyPatch is publicly available on pytest.MonkeyPatch.
This commit is contained in:
parent
130c954bb1
commit
b5e966ad8f
|
@ -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
|
||||
-------------
|
||||
|
|
Loading…
Reference in New Issue