From 5093d8b9252a39e05774b17b50f477fdf1a65ae1 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 18 Dec 2011 10:56:39 +0000 Subject: [PATCH] fix test to actually mean something useful (thanks Jurko) --- testing/test_monkeypatch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/test_monkeypatch.py b/testing/test_monkeypatch.py index bc093ef5e..54c588331 100644 --- a/testing/test_monkeypatch.py +++ b/testing/test_monkeypatch.py @@ -70,6 +70,7 @@ def test_setitem_deleted_meanwhile(): def test_setenv_deleted_meanwhile(): monkeypatch = MonkeyPatch() monkeypatch.setenv('XYZ123', 'hello') + del os.environ['XYZ123'] monkeypatch.undo() assert 'XYZ123' not in os.environ