From c0b898c5f4c1da6a03d1a253a9bada9d4f2d6995 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 15 Aug 2022 13:43:25 -0300 Subject: [PATCH] Update src/_pytest/monkeypatch.py Co-authored-by: Ran Benita --- src/_pytest/monkeypatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/monkeypatch.py b/src/_pytest/monkeypatch.py index 9de25e645..00d43988a 100644 --- a/src/_pytest/monkeypatch.py +++ b/src/_pytest/monkeypatch.py @@ -218,7 +218,7 @@ class MonkeyPatch: There can be many names pointing to any individual object, so for patching to work you must ensure that you patch the name used by the system under test. - See the section *Where to patch* in the :mod:`unittest.mock` docs for a complete explanation, which + See the section :ref:`Where to patch ` in the :mod:`unittest.mock` docs for a complete explanation, which is meant for :func:`unittest.mock.patch` but applies to ``monkeypatch.setattr`` as well. """ __tracebackhide__ = True