From 9b382ed16c72d16357cdc772b47a68634d5946df Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Fri, 21 Sep 2018 17:11:15 +0100 Subject: [PATCH] Fix typo in docstring --- src/_pytest/monkeypatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_pytest/monkeypatch.py b/src/_pytest/monkeypatch.py index 22ffffd4c..67279003f 100644 --- a/src/_pytest/monkeypatch.py +++ b/src/_pytest/monkeypatch.py @@ -219,8 +219,8 @@ class MonkeyPatch(object): self.setitem(os.environ, name, value) def delenv(self, name, raising=True): - """ Delete ``name`` from the environment. Raise KeyError it does not - exist. + """ Delete ``name`` from the environment. Raise KeyError if it does + not exist. If ``raising`` is set to False, no exception will be raised if the environment variable is missing.