Update src/_pytest/monkeypatch.py

Co-authored-by: Ran Benita <ran@unusedvar.com>
This commit is contained in:
Bruno Oliveira 2022-08-15 13:43:25 -03:00 committed by GitHub
parent d1d8c0389d
commit c0b898c5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 <python: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