From 5a43e865422a80e053c6a42eeb0de80a605e99d5 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 1 Oct 2009 01:19:18 +0000 Subject: using dict.unset(k) instead of del dict[k]. consistent with release26-maint --- Lib/test/test_urllib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 6eaefa2..266853e 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -103,7 +103,7 @@ class ProxyTests(unittest.TestCase): # Delete all proxy related env vars for k, v in os.environ.iteritems(): if 'proxy' in k.lower(): - del self.env[k] + env.unset(k) def tearDown(self): # Restore all proxy related env vars -- cgit v0.12