From e09e7148a3b94fe883839257f8b972351466eb93 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 7 Feb 2010 01:56:43 +0100 Subject: [PATCH] fix docstring --HG-- branch : trunk --- py/_plugin/pytest_monkeypatch.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/py/_plugin/pytest_monkeypatch.py b/py/_plugin/pytest_monkeypatch.py index 9df5d6ca8..13c6a6d9a 100644 --- a/py/_plugin/pytest_monkeypatch.py +++ b/py/_plugin/pytest_monkeypatch.py @@ -68,10 +68,9 @@ def pytest_funcarg__monkeypatch(request): monkeypatch.syspath_prepend(path) All modifications will be undone when the requesting - test function finished its execution. For the ``del`` - methods the ``raising`` parameter determines if a - KeyError or AttributeError will be raised if the - deletion has no target. + test function finished its execution. The ``raising`` + parameter determines if a KeyError or AttributeError + will be raised if the set/deletion operation has no target. """ monkeypatch = MonkeyPatch() request.addfinalizer(monkeypatch.undo)