From 8ab638c5497651d838a90635b36006173a5fe673 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 15 Aug 2022 13:47:06 -0300 Subject: [PATCH] Fix lint --- src/_pytest/monkeypatch.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/_pytest/monkeypatch.py b/src/_pytest/monkeypatch.py index 00d43988a..c6e29ac76 100644 --- a/src/_pytest/monkeypatch.py +++ b/src/_pytest/monkeypatch.py @@ -218,8 +218,9 @@ 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 :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. + 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 import inspect