From 6956a000565e543dfb342a131a0eff452d433656 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Thu, 2 Jun 2022 08:16:59 -0500 Subject: [PATCH] docs(monkeypatch): Fix autodoc reference links (#10013) Close #10014 --- AUTHORS | 1 + doc/en/monkeypatch.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 2c83c84e9..a066159d2 100644 --- a/AUTHORS +++ b/AUTHORS @@ -302,6 +302,7 @@ Tom Dalton Tom Viner Tomáš Gavenčiak Tomer Keren +Tony Narlock Tor Colvin Trevor Bekolay Tyler Goodlet diff --git a/doc/en/monkeypatch.rst b/doc/en/monkeypatch.rst index 9480f008f..2437ff0ea 100644 --- a/doc/en/monkeypatch.rst +++ b/doc/en/monkeypatch.rst @@ -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 -------------