From e3359458ee2b91ec71b1fc54bbf6f38f4a2520bc Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Mon, 27 May 2024 16:46:33 +0900 Subject: [PATCH] Update monkeypatch.py --- src/_pytest/monkeypatch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/_pytest/monkeypatch.py b/src/_pytest/monkeypatch.py index 3f398df76..f498d60df 100644 --- a/src/_pytest/monkeypatch.py +++ b/src/_pytest/monkeypatch.py @@ -142,6 +142,7 @@ class MonkeyPatch: which undoes any patching done inside the ``with`` block upon exit. Example: + .. code-block:: python import functools