Skip to content

Commit

Permalink
docs(monkeypatch): Fix autodoc reference links (pytest-dev#10013)
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jun 2, 2022
1 parent 4e7a69d commit 6956a00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ Tom Dalton
Tom Viner
Tomáš Gavenčiak
Tomer Keren
Tony Narlock
Tor Colvin
Trevor Bekolay
Tyler Goodlet
Expand Down
4 changes: 2 additions & 2 deletions doc/en/monkeypatch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
-------------
Expand Down

0 comments on commit 6956a00

Please sign in to comment.