From f1250781326184cde36b41bcce44d0eacc3a5bd2 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Mon, 5 Oct 2009 04:16:26 +0000 Subject: [PATCH] Fix for Issue7026. Making it self.env.unset --- 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 0870b53ea2d..5f9744c4512 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(): - env.unset(k) + self.env.unset(k) def tearDown(self): # Restore all proxy related env vars